This is a discussion on "please help on css layout" within the Web Page Design section. This forum, and the thread "please help on css layout are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
please help on css layout
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
please help on css layout
Hi Forums
I have been making a website but I'm abit stuck. I have attached the files that I have made but the page doesn't show as good on Firefox like on IE6. I have made the side menu which I have never made again and thats my big problem. Please help me on this field. Regards John |
|
|
|
||||
|
Re: please help on css layout
A link would be preferable to get immediate help.
|
|
|||
|
Re: please help on css layout
oh good Idea. here is the link and this is the css file. Please help and don't mind the text and the links. I just wanted to fix the layout first
Last edited by geyids; Aug 15th, 2007 at 12:43. |
|
||||
|
Re: please help on css layout
1. Always design for Firefox then fix for IE. Will save you lots of headaches.
2. Use conditional comments and IE specifc CSS for IE fixes only.
try chaning this
Cheers.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
||||
|
Re: please help on css layout
Quote:
When only 3 values are given for the margin and padding properties is assigns them as TOP LEFT/RIGHT BOTTOM |
|
||||
|
Re: please help on css layout
Yes but in this case it was applying the incorrect value. I should word things better. Worked 28 hours in the last 2 days.. I am frizzled.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Last edited by moojoo; Aug 15th, 2007 at 14:52. |
|
|||
|
Re: please help on css layout
I have added the 140px and its fine in firefox and worse in IE. is this going to help?
|
|
||||
|
Re: please help on css layout
When you write this:
padding: 2px 5px 3px; it will add 2px padding to the TOP, 5px to LEFT and RIGHT, and 3px to BOTTOM Also yes that conditional comment will work fine. You need to create a stylesheet for IE that changes the necessary formatting to make it work in IE browsers. So you will have more than one stylesheet. I've just written an article on conditional comments You can read it here... mike |
|
|||
|
Re: please help on css layout
thanks. and how do you link the two style sheets on the same html file?
something link
|
|
|||
|
Re: please help on css layout
hey 1840 thanks
I've been working with NS, FF and IE all open, and getting everything 'ok' between the 3, accepting the fact that all will have to be a little off. I'll use your tip of the conditional statement make an IE hack stylesheet instead. I wonder, if all designers just stopped hacking for IE, and web pages were broken on IE, and we put in a statement to use NS or FF if you wanted to view the page correctly - would that ever force IE to changes its ways? oh well, wishful thinking.... |
|
|||
|
Re: please help on css layout
Mike you're such a rebel!!! :sneaky2:
|
![]() |
| Tags |
| css |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS layout | casho | Web Page Design | 4 | Feb 10th, 2008 13:59 |
| Layout using CSS | Madball | Web Page Design | 5 | Nov 7th, 2007 09:41 |
| New to CSS Layout | tapster | Web Page Design | 15 | Oct 15th, 2007 10:18 |
| Fluid layout - IE6 clichés the layout when resizing | cyberseed | Web Page Design | 7 | Jun 16th, 2007 05:14 |
| What makes a layout a good layout? | Miles Lombardi | Graphics and 3D | 4 | Jul 26th, 2005 03:22 |