![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I am working on a design and I am having a few problems. Did you make this CSS or did you get both sheets from somewhere and |
|
1. I am not able to align the menu to the right; 2. When hovering the products menu a child menu should appear. I think the problem has to do with my floats that are affecting it. 3. The foot is out of placed ... to the right ... The page is in: http://www.flyondreams.com/Beta/Site/Index.html (Both Html and Css are validated) Could someone, please, help me out with these problems? Any other suggestions to improve my code are welcome. |
#3
| |||||
| |||||
|
|
I am working on a design and I am having a few problems. 1. I am not able to align the menu to the right; |
|
2. When hovering the products menu a child menu should appear. I think the problem has to do with my floats that are affecting it. |
|
3. The foot is out of placed ... to the right ... |
|
The page is in: http://www.flyondreams.com/Beta/Site/Index.html (Both Html and Css are validated) |
|
Could someone, please, help me out with these problems? Any other suggestions to improve my code are welcome. |
#4
| |||
| |||
|
|
shapper wrote: I think (but am not sure) that some browsers choke on multiple class names like class="Menu _Menu". |
#5
| |||
| |||
|
|
In article 2ab8f242-3c4f-4499-a09e-452086389... (AT) o11g2000yql (DOT) googlegroups.com>, *shapper <mdmo... (AT) gmail (DOT) com> wrote: Hello, I am working on a design and I am having a few problems. Did you make this CSS or did you get both sheets from somewhere and alter them here and there? 1. I am not able to align the menu to the right; 2. When hovering the products menu a child menu should appear. * * I think the problem has to do with my floats that are affecting it. 3. The foot is out of placed ... to the right ... The page is in: http://www.flyondreams.com/Beta/Site/Index.html (Both Html and Css are validated) Could someone, please, help me out with these problems? Any other suggestions to improve my code are welcome. -- dorayme |
#6
| |||
| |||
|
|
shapper wrote: I am working on a design and I am having a few problems. 1. I am not able to align the menu to the right; Try float:right; rather than float:left; on .Navigation . ;-) 2. When hovering the products menu a child menu should appear. * * I think the problem has to do with my floats that are affecting it. You've got a lot of selectors that will never match your current markup. I can't help you otherwise. (Examined using FF with JS off.) Oh, wait: I removed the overflow:hidden from .Center, and the submenus appeared on hover (your layout broke, though). 3. The foot is out of placed ... to the right ... Try adding clear:left; to div.Foot so as to counteract the properties of the float you've asked for on .sidebar The page is in: http://www.flyondreams.com/Beta/Site/Index.html (Both Html and Css are validated) Did you read the warnings when you validated your CSS? 1 error, 14 warnings Could someone, please, help me out with these problems? Any other suggestions to improve my code are welcome. HTML 4.01 strict, as we (TINW) usually say. You seem to have a few extra DIVs; do you need them all? I think (but am not sure) that some browsers choke on multiple class names like class="Menu _Menu". But you don't seem to have any rules for _Menu, so why don't you discard that? There are plenty of two-column layouts in the world; why not use something you know already works? -- John Pondering the value of the UIP:http://improve-usenet.org/ I always know I'm going to regret answering. |
#7
| |||
| |||
|
|
"John Hosking" <J... (AT) DELETE (DOT) Hosking.name.INVALID> wrote in message news:49dae63d$1_5 (AT) news (DOT) bluewin.ch... shapper wrote: I think (but am not sure) that some browsers choke on multiple class names like class="Menu _Menu". NN4 et al, wouldn't worry about it, multiple classes work fine apart from some cases in IE6: .Menu { * /* this works */ } ._Menu { * /* this works */ } .Menu._Menu { * /* works in all modern browsers except IE6 */ } |
#8
| |||
| |||
|
|
"John Hosking" <J... (AT) DELETE (DOT) Hosking.name.INVALID> wrote in message news:49dae63d$1_5 (AT) news (DOT) bluewin.ch... shapper wrote: I think (but am not sure) that some browsers choke on multiple class names like class="Menu _Menu". NN4 et al, wouldn't worry about it, multiple classes work fine apart from some cases in IE6: .Menu { * /* this works */ } ._Menu { * /* this works */ } .Menu._Menu { * /* works in all modern browsers except IE6 */ } |
#9
| |||
| |||
|
|
On Apr 7, 6:30 am, John Hosking wrote: There are plenty of two-column layouts in the world; why not use something you know already works? -- John |
|
Could you recommend a 2 columns layout where the header extends 100% and its content centered? |
#10
| |||
| |||
|
|
On Apr 7, 6:30 am, John Hosking wrote: There are plenty of two-column layouts in the world; why not use something you know already works? See what you think of http://matthewjamestaylor.com/blog/ultimate-2-column-left-menu-ems.htm |
|
There was another scheme getting discussed (with considerable praise) in these groups about two or three months ago, but I don't remember what it was called. I failed to bookmark it. But you could scan the archives or, heh, Google for "two-column layout". |
|
Centering the content within a column (if that's what you really want) shouldn't be hard. I'll even leave that as an exercise for you. |
![]() |
| Thread Tools | |
| Display Modes | |
| |