Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Directory Submission Service   I Sell Pagerank   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 01-18-2008, 12:04 PM   #1 (permalink)
Junior Member
 
Join Date: 01-18-08
Location: Chicago
Posts: 7
iTrader: 0 / 0%
Latest Blog:
None

Tania is liked by many
Send a message via AIM to Tania
Quick quesiton - Help with centering

Hello, all! I just have a really quick question.

On this website, http://www.injenn.net/~tania/ I can't get the links at the top to center instead of being all the way at the left. Well, I can get it to center, but then it gets all messed up and small and I don't really know what the issue is. If anyone can help, I would be eternally grateful.

Thank you!
Tania is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 01-18-2008, 12:08 PM   #2 (permalink)
Junior Member
 
Join Date: 01-16-08
Posts: 24
iTrader: 0 / 0%
Latest Blog:
None

funnyman is liked by many
Sounds like a css issue. Are you using CSS? You probably have defined somewhere that when the item is centered it has a specific font size. I'm rather bad at CSS (I'm a newb) so I wont give you any code but I bet thats the problem.
funnyman is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-18-2008, 12:18 PM   #3 (permalink)
Junior Member
 
Join Date: 01-18-08
Location: Chicago
Posts: 7
iTrader: 0 / 0%
Latest Blog:
None

Tania is liked by many
Send a message via AIM to Tania
I am using CSS - I'm pretty new to it, too. I'm weaning myself off Tables and all that '90s stuff. I didn't know you could define a font-size for whether something is centered or not. I guess it could be the problem.
Tania is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-18-2008, 01:12 PM   #4 (permalink)
v7n Mentor
 
Taltos's Avatar
 
Join Date: 11-22-06
Location: Phoenix, AZ
Posts: 1,804
iTrader: 0 / 0%
Latest Blog:
None

Taltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web proTaltos is a highly respected web pro
Send a message via Yahoo to Taltos
Hi Tania,

I took a quick look and you appear to have your body broken into 3 main divs. The 2nd main div has no id and has "align='center'". That doesn't really work on divs.

You need to give this second div an id like you have with "masthead" and "container". Assuming you give the nav links div an id of "navbar" then in your CSS, start with something like this:
Code:
#navbar { margin: 0 auto; }
Obviously add whatever else you need to style that div. The margin command sets top and bottom margin to 0 pixels and left and right margin to an equal amount of the space left over. That should center the navbar div. You can add font sizes to it to make sure you get the right font size.

Good Luck
__________________
Experimenting
Taltos is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-19-2008, 11:46 AM   #5 (permalink)
Jeffesis
 
jdspc's Avatar
 
Join Date: 12-05-07
Location: Clear Lake City, TX
Posts: 1,193
iTrader: 0 / 0%
jdspc is a splendid one to beholdjdspc is a splendid one to beholdjdspc is a splendid one to beholdjdspc is a splendid one to beholdjdspc is a splendid one to beholdjdspc is a splendid one to beholdjdspc is a splendid one to beholdjdspc is a splendid one to beholdjdspc is a splendid one to beholdjdspc is a splendid one to beholdjdspc is a splendid one to behold
I actually think it looks quite nice as is…
The ‘empty’ space to the right of the nav would make a nice nest for login, time of day or quote/tip of the day info…imo

I dig the logo - btw -
__________________
Visiting Angels Houston

Creative Awnings

I spell bad because I can...
jdspc is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-09-2008, 10:31 PM   #6 (permalink)
Junior Member
 
Join Date: 01-18-08
Location: Chicago
Posts: 7
iTrader: 0 / 0%
Latest Blog:
None

Tania is liked by many
Send a message via AIM to Tania
Thanks about the logo

Thanks so much for the suggestions, also, I finally got it fixed using the advice and a little tweaking! I've been so busy I haven't edited it until now.

http://injenn.net/~tania
Tania is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-10-2008, 02:24 AM   #7 (permalink)
Junior Member
 
youthx's Avatar
 
Join Date: 02-21-08
Posts: 28
iTrader: 0 / 0%
Latest Blog:
None

youthx is liked by many
Huh?

They are centrallised arent they??
youthx is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-10-2008, 10:36 AM   #8 (permalink)
Junior Member
 
Join Date: 01-18-08
Location: Chicago
Posts: 7
iTrader: 0 / 0%
Latest Blog:
None

Tania is liked by many
Send a message via AIM to Tania
They are now, yes.
Tania is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Centering Horizontal CSS Menu thecoolkid Coding Forum 13 08-30-2007 09:59 PM
eNom Reseller PDQ - Centering Problem ssgupta Coding Forum 5 06-24-2007 05:40 AM
Centering works in Firefox but not IE ? Spydey Coding Forum 1 04-17-2006 07:00 AM
Redesign Quesiton Sketch Web Design Lobby 15 08-08-2005 05:35 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 08:28 PM.
© Copyright 2008 V7 Inc