This is a discussion on "Problems with float:left float:right" within the Web Page Design section. This forum, and the thread "Problems with float:left float:right are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Problems with float:left float:right
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Problems with float:left float:right
Hey all,
I'm a new member here, just wanted to know a good way to layout a site in css for browser resolutions over 800 x 600 . I have made one, but when viewed in 1260 x whatever becomes completely screwed up. =-Jo |
|
|
|
#2
|
|||
|
|||
|
Re: Problems with float:left float:right
You need to start by thinking about whether the design of a site lends itself to a fluid width or whether it is better with a fixed width. If it's going to be a fixed width design, then you need to design for 800px wide less scrollbar etc. typically 760px max.
If you decide you are going for a fluid design then you need to structure things in such away that this flexibility doesn't break the design at certain widths. Just to clarify a point from your question, you don't layout a site in css. you layout (structure) a site in (x)html and use css to control the 'look-n-feel' of the site. |
|
#3
|
|||
|
|||
|
Re: Problems with float:left float:right
Yeah,
I was making my design fluid with the float:left float:right clear:both. Designing 760px. How do I get it to show up on higher resolutions? |
|
#4
|
|||
|
|||
|
Re: Problems with float:left float:right
I don't know if this will help but i just had an alignment problem with floats.
see my site www.skiaustralia.abshost.net . The floats weren't sitting next to each other when assigned these properties.
Last edited by Powderhound; Nov 14th, 2006 at 06:00. |
|
#5
|
||||
|
||||
|
Re: Problems with float:left float:right
I've written an article about clearing floats. Simply clear: both; won't work in all browsers. The links at the top of this forum in the sticky.
|
|
#6
|
|||
|
|||
|
Re: Problems with float:left float:right
what browsers won't support clear: both; ?
|
|
#7
|
||||
|
||||
|
Re: Problems with float:left float:right
It's not that they don't support clear: both; it's just that they don't all see a <div> as being wide enough to cover the whole area. Sometimes just the single propery will work, but most likely not in all browsers and certainly not in all instances of its application.
|
|
#8
|
||||
|
||||
|
Re: Problems with float:left float:right
In my opinion, clear and float are the two most misused properties in CSS.
|
|
#9
|
|||
|
|||
|
Re: Problems with float:left float:right
fair enough
it works for me in IE and FF, for other browsers however, i don't know. Also i'm only fixing two divs, that may make a difference to the outcome. |
![]() |
| Tags |
| css floating |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Float: Left with firefox | magnetica | Web Page Design | 2 | Aug 24th, 2007 16:55 |
| difficulty with a float left and right layout | konnor5092 | Web Page Design | 9 | Aug 10th, 2007 07:01 |
| Float problems | timmytots | Web Page Design | 4 | May 11th, 2007 14:18 |
| help useing float building page right to left | rocket468 | Web Page Design | 5 | Jan 23rd, 2007 23:56 |