Does my site look misaligned? |
Does my site look misaligned? |
May 31 2008, 02:21 PM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 323 Joined: Dec 2007 Member No: 601,314 |
I use IE. My site looks great in IE, but someone told me that it was messed up in FF.
Could someone here who uses FF tell me if it is messed up? Maybe it is just that one guy's computer and not nessisarily my fault. Thanks! The link is in my sig. |
|
|
|
![]() |
May 31 2008, 04:37 PM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,237 Joined: May 2008 Member No: 648,123 |
oh, i misread it. i thought you meant you had two style sheets.
but my point in using an external style sheet over how you have it set up right now is to make everything easier. instead of changing each page one at a time, you can change everything at once using a style sheet. the way you're doing it right now probably has some conflicting codes, which is why it looks messy in any web standards browser and looks great in internet explorer. and i was saying to do it the other way, because it would take forever for me to go through and see exactly where your problems are by looking at each div's style. there could be an incomplete code, a width that's 2 pixels too small, or some other issue that's showing up in firefox. my biggest reason behind this is to think about the future. how big do you plan on getting your site? i'd imagine if you're paying for web space then you'd like it to be successful. say one day you have 100 pages, and want to change your site's layout. it would take ages to go through and adjust each page, rather than one time in an external style sheet. //edit: the code you posted does explain some of the problems. you're using position:absolute; which in any browser will position an element exactly on a page. try something like this: CODE <style type="text/css" media="screen"> #main { display:table; margin:0 auto; width:900px; } #top { height:380px; width:100%; } #left { float:left; width:151px; } #content { float:left; width:447px; } #right { float:left; width:300px; } </style> <div id="main"> <div id="top"> text </div> <div id="left"> text </div> <div id="content"> text </div> <div id="right"> text </div> </div> the style sheet you'd put in its own file without the <style></style> tags, of course. |
|
|
|
SharperMyspace Does my site look misaligned? May 31 2008, 02:21 PM
SkyliteX I sent you a screenshot oo and the link in your si... May 31 2008, 02:23 PM
SharperMyspace Ya I saw your screenshot. I just wanted another pe... May 31 2008, 02:25 PM
fixtatik haha, i just clicked your link in a different thre... May 31 2008, 02:47 PM
SharperMyspace QUOTE(fixtatik @ May 31 2008, 02:47 PM) h... May 31 2008, 02:54 PM
fixtatik your best bet would honestly be starting from scra... May 31 2008, 03:26 PM
SharperMyspace So you think that is why it is not aligned? Cause ... May 31 2008, 04:28 PM
SharperMyspace QUOTE(fixtatik @ May 31 2008, 04:37 PM) o... May 31 2008, 04:40 PM![]() ![]() |