Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1511 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

100% width DIV

Thread title: 100% width DIV
Closed Thread    
    Thread tools Search this thread Display Modes  
02-21-2008, 11:08 PM
#1
Dr John is offline Dr John
Status: Junior Member
Join date: May 2005
Location:
Expertise:
Software:
 
Posts: 77
iTrader: 0 / 0%
 

Dr John is on a distinguished road

  Old

It's quite simple really, to see what has gone wrong. the div .top has a fixed width of 990px, so if the viewport is reduced, it sticks out the side.

It is also due to a common disease known as "being daft enough to design the layout with the design window set a full screen and then not checking the design in when it is resized", IE careless designer syndrome.

Possible solution? set a min-width on .container, and set .top to 100%

02-24-2008, 06:13 AM
#2
mpbroker is offline mpbroker
Status: I'm new around here
Join date: Feb 2008
Location:
Expertise:
Software:
 
Posts: 16
iTrader: 0 / 0%
 

mpbroker is on a distinguished road

  Old

Originally Posted by Dr John View Post
It's quite simple really, to see what has gone wrong. the div .top has a fixed width of 990px, so if the viewport is reduced, it sticks out the side.

It is also due to a common disease known as "being daft enough to design the layout with the design window set a full screen and then not checking the design in when it is resized", IE careless designer syndrome.

Possible solution? set a min-width on .container, and set .top to 100%

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed