Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Go Back   Code Forums > Application and Web Development > HTML, XML, Javascript, AJAX
User Name
Password

Reply
 
LinkBack Thread Tools Display Modes
Old 03-03-2005, 09:32 AM   #1 (permalink)
sarah31
Code Monkey
 
sarah31's Avatar
 
Join Date: May 2002
Location: canada
Posts: 55
sarah31 is on a distinguished road
CSS help please

Hello,

This is the url to my website. It currently displays just fine in Firefox and some other Browsers but the formatting is all bunged up in IE. I haven't been able to find a compromise that allows it to display properly in all popular browsers. If I change it to comply with IE it doesn't swim with Firefox or Safari. I have also had some problems with it displaying properly in Opera.


http://www.sarah31.ca

the css is here:

http://www.sarah31.ca/templates/sarah31c.css

Everything went all screwy when I added the graphic in the title bar (which I can easily drop but i would rather keep it).
__________________
sarah31 is offline   Reply With Quote
Old 03-03-2005, 09:51 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,397
sde is on a distinguished road
hi sarah,

have you tried just putting an image tag in your div tag? rather than trying to setup the image in the css?
HTML Code:
<div id="Header"><img src="../images/Sable1.jpg"></div>
i try to stay away from such heavy css for this exact reason.
__________________
testing 1 2 3
sde is offline   Reply With Quote
Old 03-03-2005, 09:57 AM   #3 (permalink)
sarah31
Code Monkey
 
sarah31's Avatar
 
Join Date: May 2002
Location: canada
Posts: 55
sarah31 is on a distinguished road
Yeah actually i did but for some odd reason it would not display within the title borders but outside them
__________________
sarah31 is offline   Reply With Quote
Old 03-03-2005, 10:06 AM   #4 (permalink)
sarah31
Code Monkey
 
sarah31's Avatar
 
Join Date: May 2002
Location: canada
Posts: 55
sarah31 is on a distinguished road
I may just go back to the regular text format as everything displayed just fine with it.
__________________
sarah31 is offline   Reply With Quote
Old 03-03-2005, 12:07 PM   #5 (permalink)
sarah31
Code Monkey
 
sarah31's Avatar
 
Join Date: May 2002
Location: canada
Posts: 55
sarah31 is on a distinguished road
pftt. with the image there or not it doesn't display properly anymore at all. I used to have no problems with IE. Now it is all bollocksed up.

I wish IE wiould just go to hell. It is such a useless piece of code >

Sorry I hate trying to taylor for it now.
__________________
sarah31 is offline   Reply With Quote
Old 03-03-2005, 12:21 PM   #6 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,397
sde is on a distinguished road
why not just use tables for now?
HTML Code:
<html> <body> <center><img src=logo.img></center> <table width=100% height=100% border=0 cellspacing=1 cellpadding=5> <tr> <td width=125 valign=top>Left Side</td> <td valign=top>Content</td> <td width=125 valign=top>Right Side</td> </tr> </table> </body> </html>
you can always assign styles to the td cells, .. or put div's inside the cells if you want to re-use some of your existing css.
__________________
testing 1 2 3
sde is offline   Reply With Quote
Old 03-03-2005, 04:20 PM   #7 (permalink)
idx
Senior Grasshopper
 
idx's Avatar
 
Join Date: Jun 2003
Location: FL
Posts: 317
idx is on a distinguished road
Quote:
..but the formatting is all bunged up in IE.
Now it is all bollocksed up.
Man, this thread is great for the terminology. I gotta start working in bollocksed at work.

(sorry, I suck at css.)

BTW, the page looks fine in IE for me. (not sure if you've changed anything yet) The top `prarie sable` graphic looks the same in FF 1.1 and IE 6.0.2600.0000 .

-r
__________________
idx is offline   Reply With Quote
Old 03-03-2005, 05:55 PM   #8 (permalink)
geek
Web/Graphic Designer
 
Join Date: Mar 2005
Location: Ohio
Posts: 2
geek is on a distinguished road
the page loads fine for me.. i use Maxthon/MyIE2 <IE shell> the image doesnt go all the way acrossed the header, but every seems to be in place..
__________________
geek is offline   Reply With Quote
Old 03-03-2005, 06:31 PM   #9 (permalink)
sarah31
Code Monkey
 
sarah31's Avatar
 
Join Date: May 2002
Location: canada
Posts: 55
sarah31 is on a distinguished road
Quote:
Originally Posted by idx
Man, this thread is great for the terminology. I gotta start working in bollocksed at work.

(sorry, I suck at css.)

BTW, the page looks fine in IE for me. (not sure if you've changed anything yet) The top `prarie sable` graphic looks the same in FF 1.1 and IE 6.0.2600.0000 .

-r
Yeah I found a relatively satisfactory solution. the center content box does not align perfectly in either FF or IE but it is at least the graphic is ok. Unfortunately it now Does not display properly in Opera but I am working on that.

Geek,

Yeah the image doe snot go l the way across I may get the designer to extend it as the css should take care of altering it as the size is changed of a browser window.


I appreciate the feedback.

sde,

I could switch to a table but I don't want to piss around alot with the static templates for the site.
__________________
sarah31 is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Explorer trouble (of course) easilyi HTML, XML, Javascript, AJAX 6 11-11-2004 03:59 PM
CSS Layout runawayvibrator HTML, XML, Javascript, AJAX 4 05-31-2004 12:47 PM
CSS Positioning d8uv HTML / CSS 0 03-22-2003 04:13 AM
An Introduction to XHTML/CSS Rie HTML / CSS 0 03-07-2003 06:50 PM
CSS question Miststlkr HTML, XML, Javascript, AJAX 7 12-05-2002 07:29 AM


All times are GMT -8. The time now is 07:23 PM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2006, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
Open Circle