Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-19-2004, 08:21 AM   PM User | #1
justletme_fly
New to the CF scene

 
Join Date: Feb 2004
Location: Austin, TX
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
justletme_fly is an unknown quantity at this point
Macintosh my background image is not displaying correctly, any ideas?

ok, i thought this would be simple, but i can't understand why it is not working. i have created a temporary index page (http://www.forwardesigns.com) and the background that i have selected to repeat is not lining up right on a PC, but it is on my Mac. i started with declaring the backgorund in the CSS with:
body {background: url(images/horizon.jpg) repeat-x;}

when that didn't work i put the background code in the body tag:
<background="images/horizon.jpg" style="backgroung-repeat: repeat-x">

but the background still displays incorrectly on a PC enviorment while displaying correctly on a Mac enviorment. if you have any ideas or insights please let me know.
justletme_fly is offline   Reply With Quote
Old 02-19-2004, 08:57 AM   PM User | #2
ronaldb66
Senior Coder

 
Join Date: Jun 2002
Location: The Netherlands, Baarn, Ut.
Posts: 4,253
Thanks: 0
Thanked 0 Times in 0 Posts
ronaldb66 is an unknown quantity at this point
Validate!

Start by validating both your CSS and your HTML; there are a number of errors in them (no such thing as an "align" property, and what's "vertical-algin"?!!). Also, get rid of all the deprecated body attributes and use CSS exclusively.

By the way: what browsers did you use (which versions)? It's almost certainly a matter of browser differences, the platform has little to do with it.
__________________
Regards,
Ronald.
ronaldvanderwijden.com
ronaldb66 is offline   Reply With Quote
Old 02-19-2004, 09:07 AM   PM User | #3
justletme_fly
New to the CF scene

 
Join Date: Feb 2004
Location: Austin, TX
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
justletme_fly is an unknown quantity at this point
alright, i'll look into it

thanks, i'll look into it. sorry i just started with style sheets, and am still learning. i know they're depriciated, but i just wanted to see if that was it. and yea, my main problem is spelling errors, its always something i over look :-P.
justletme_fly is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:33 PM.


Advertisement
Log in to turn off these ads.