|
|
 |
06-10-2007, 07:23 AM
|
#1
|
|
Diamond Member
Join Date: Jun 2001
Location: Baltimore, MD
Posts: 5,443
|
I pray to the Gods of Programming...
Good morning,
I just recently redesigned my site using CSS. I have a Windows Vista machine with Firefox 2 and IE7. I designed the site in Notepad.
Here's where my problem lies: The site looks just how I want it on my browsers, but when I asked people to check it out, it seems IE6, Firefox1, Opera and Safari all have rendering problems.
My site is supposed to look like this: HERE
But in the mentioned browsers, my "featured galleries" bar on the left appears below my main content incorrectly.
So, my question is: Can anyone who's a kind soul and/or bored out of their mind take a look at my code and see where I'm going wrong? You'll have to forgive the coding trainwreck, I've only been working with CSS for about a week.
There's a link to my site in my sig. Thanks to anyone in advance who can help!!
EDIT: Does this look better?
__________________
1.how close have i ever been to buried treasure/breifcase of money
2.how close have i been to a man eating shark swimming in the ocean
3.how many times i pass by a serial killer(exact proximity)
4.same for celeb or perhaps devil antichrist figure
5.how many scratch tickets between me and vicotry when i bought one
|
|
|
06-10-2007, 11:34 AM
|
#2
|
|
Diamond Member
Join Date: Aug 2004
Posts: 3,775
|
I pray to the Gods of Programming...
I didn't really look at your code much, but it looks like you dont have a "wrapper" or "box" div. Just put another div outside of all your stuff and then align it to the left. I think it should be something like below:
|
|
|
06-10-2007, 11:45 AM
|
#3
|
|
Diamond Member
Join Date: Jun 2001
Location: Baltimore, MD
Posts: 5,443
|
I pray to the Gods of Programming...
I do have a wrapper, it's named "container"
I believe I'm making some progress, I'll post a test page in a moment.
__________________
1.how close have i ever been to buried treasure/breifcase of money
2.how close have i been to a man eating shark swimming in the ocean
3.how many times i pass by a serial killer(exact proximity)
4.same for celeb or perhaps devil antichrist figure
5.how many scratch tickets between me and vicotry when i bought one
|
|
|
06-10-2007, 12:18 PM
|
#4
|
|
Diamond Member
Join Date: Jun 2001
Location: Baltimore, MD
Posts: 5,443
|
I pray to the Gods of Programming...
Ok, I've done some work and posted a test page HERE.
Anyone experiencing problems with my latest effort?
__________________
1.how close have i ever been to buried treasure/breifcase of money
2.how close have i been to a man eating shark swimming in the ocean
3.how many times i pass by a serial killer(exact proximity)
4.same for celeb or perhaps devil antichrist figure
5.how many scratch tickets between me and vicotry when i bought one
|
|
|
06-10-2007, 01:55 PM
|
#5
|
|
Elite Member
Join Date: Oct 2004
Posts: 12,974
|
I pray to the Gods of Programming...
You are using quite a few absolute values for spacing. This isn't a great idea, especially when you have to make it work well with people using high DPI settings. Position: absolute is something you should try and use sparingly. IMO the only absolute values that should even be there are perhaps the total width of the page, and the height of the header image. There are also widths without units. When you remove the numbers on the left, the whole thing collapses. This also shouldn't happen, but isn't as critical a problem.
In general, you have slightly more divs than you need, it seems. Also, you should terminate your styles with semicolons all the time (before the ending brace).
It simply looks a lot more difficult than it really is if you use the right properties. I can't blame you though, it takes tons of patience to work with CSS and IE6 can really be a pain in the ass.
Edit: the latest doesn't work at least in FF. Here's how it looks on my machine (Firefox/Linux):
http://xtknight.atothosting.com/images/seanpage.png
Seems to be fine in FF and Opera with Windows, which indicates a font spacing problem (probably absolute values again).
The only browser the whole page is centered on is IE with Windows.
|
|
|
06-10-2007, 02:10 PM
|
#6
|
|
Diamond Member
Join Date: Jun 2001
Location: Baltimore, MD
Posts: 5,443
|
I pray to the Gods of Programming...
By absolute values do you mean things like "14px" or "12pt"?
What should I use as an alternative?
I've got the sidebar set to 25% of the page width and the content box (to the right) at 70%. Both sections are in a div together with one floated left and one floated right. Why are things being shoved to the bottom?
Thanks for your comments so far, by the way.
__________________
1.how close have i ever been to buried treasure/breifcase of money
2.how close have i been to a man eating shark swimming in the ocean
3.how many times i pass by a serial killer(exact proximity)
4.same for celeb or perhaps devil antichrist figure
5.how many scratch tickets between me and vicotry when i bought one
|
|
|
06-10-2007, 03:30 PM
|
#7
|
|
Diamond Member
Join Date: Dec 2001
Location: Rochester, NY
Posts: 3,819
|
I pray to the Gods of Programming...
http://www.seannaber.com/test/ Looked fine using IE6 on windows XP.
One suggestion I have is you might want to put your css in an external file. It makes it easier when you have multiple pages.
__________________
loofmodnar.com \\ Steam: loof \\ XBL:loofymodnar
Michaelangelo – i5-2500K, Win 7 Home \\ Leonardo - Surface RT \\ Raphael - 2008 Macbook, OS X Lion \\ Donatello – Dell Zino HD, Win 7 Home
Mouser 920 – Nokia Lumia 920 – Windows Phone 8
|
|
|
06-10-2007, 03:50 PM
|
#8
|
|
Diamond Member
Join Date: Jun 2001
Location: Baltimore, MD
Posts: 5,443
|
I pray to the Gods of Programming...
Yeah, that sounds like a good idea.
Still looking for a reason why my layout is getting jumbled around!
__________________
1.how close have i ever been to buried treasure/breifcase of money
2.how close have i been to a man eating shark swimming in the ocean
3.how many times i pass by a serial killer(exact proximity)
4.same for celeb or perhaps devil antichrist figure
5.how many scratch tickets between me and vicotry when i bought one
|
|
|
06-11-2007, 12:23 AM
|
#9
|
|
Diamond Member
Join Date: Dec 2001
Location: Rochester, NY
Posts: 3,819
|
I pray to the Gods of Programming...
I took a peek a second ago and it looked fine in Opera 9.21, IE6, IE7 and FF2.
http://www.randomfool.net/pictures/seannaber.png
__________________
loofmodnar.com \\ Steam: loof \\ XBL:loofymodnar
Michaelangelo – i5-2500K, Win 7 Home \\ Leonardo - Surface RT \\ Raphael - 2008 Macbook, OS X Lion \\ Donatello – Dell Zino HD, Win 7 Home
Mouser 920 – Nokia Lumia 920 – Windows Phone 8
|
|
|
06-11-2007, 07:02 AM
|
#10
|
|
Diamond Member
Join Date: Jun 2001
Location: Baltimore, MD
Posts: 5,443
|
I pray to the Gods of Programming...
Yeah I think I may have fixed most of the problems. I still don't have access to Mac applications, so if anyone can check Safari, IE6, IE7, FF1, FF2 and Opera on a Mac I'd really appreciate it!
Now I just gotta work on getting my code to verify...
__________________
1.how close have i ever been to buried treasure/breifcase of money
2.how close have i been to a man eating shark swimming in the ocean
3.how many times i pass by a serial killer(exact proximity)
4.same for celeb or perhaps devil antichrist figure
5.how many scratch tickets between me and vicotry when i bought one
|
|
|
06-15-2007, 02:27 AM
|
#11
|
|
Senior Member
Join Date: Aug 2002
Posts: 680
|
I pray to the Gods of Programming...
Sometimes it's easier to make sure it validates as you go along, especially if you're encountering display issues. Improperly formed CSS can display differently in all browsers -- it's kinda like how IE tries to "fix" badly formed HTML, but other browsers like Firefox and Opera are less forgiving.
__________________
Quote:
by: bsobel
Quote:
by: Nothinman
Quote:
by: LeetestUnleet
but_this_is_also_annoying
|
Less though than CamelCaps because at least you don't have to reach for your shift key all of the time.
|
How exactly do you get the _ character on your keyboard?
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:09 PM.
|