User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 423,718 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,141 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1698 | Replies: 2
Reply
Join Date: Jun 2005
Posts: 1
Reputation: jules213 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jules213 jules213 is offline Offline
Newbie Poster

Couple of CSS questions

  #1  
Jun 19th, 2005
hi there,

bit of a newcomer to web building, and having now finished a site which is xhtml transitional validated (except for the <embed> on the first page for the embedded .rm file... which from what i've seen around the net, is insurmountable).

But I have a couple of questions which are baffling me. Here is a link to the home page:

www.youth-tv.co.uk

1) For some reason, on IE, the site is aligned to the left hand side, whereas on NN and Mozilla it is centred, as it should be according to the CSS script. Any reason why?

2) At the bottom, on the bottom bar, I have some logo images, which i would like centered in the bottom bar along with the text, but can't for the life of me figure out how.

Any help, advice, pointers, etc, gratefully appreciated.

Thanks,

Jules
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2003
Location: Ohio
Posts: 778
Reputation: Zachery has a spectacular aura about Zachery has a spectacular aura about 
Rep Power: 7
Solved Threads: 20
Colleague
Zachery's Avatar
Zachery Zachery is offline Offline
The Geek Father

Re: Couple of CSS questions

  #2  
Jun 19th, 2005
1. site is aligned dead centered to me in IE6

2. In your site you could take

[html]
<table width="760" border="0" cellspacing="0" cellpadding="0" class="bgbottombar">
<tr>
<td class="baseline">[/html]

and change it too

[html]
<table width="760" border="0" cellspacing="0" cellpadding="0" class="bgbottombar">
<tr>
<td align="center" class="baseline">[/html]

remember while its an awsome thing to follow w3 standards and be as complaint as possible, not everything works cross browser sadly.
Firefox: no, its not the end all solution, it has its own issues and in time it will be just as insecure as IE, when its hit Firefox 6, if it makes it that far. Oh, and AOL pays for it, incase you didn't know.

Microsoft & Windows: If you hate it so much, move to linux, or bsd, or anything else, stop complaning and move on.
Good starting places: Gentoo Novell SUSE Fedora Core Apple
Reply With Quote  
Join Date: May 2005
Posts: 232
Reputation: Dogtree is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 2
Dogtree's Avatar
Dogtree Dogtree is offline Offline
Posting Whiz in Training

Re: Couple of CSS questions

  #3  
Jun 19th, 2005
1) You're using the margin:auto trick, right? IE can have issues with that, especially older versions. Though the site looks fine for me in IE6. A common hack to fix that is to use text-align:center on the box rather than the text.

2) If you want to use CSS for it, wrap everything in a div and center the div.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb HTML and CSS Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 1:01 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC