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.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 03-13-2004, 07:50 PM   #1 (permalink)
Inactive
 
Join Date: 03-14-04
Posts: 20
iTrader: 0 / 0%
Latest Blog:
None

Icey is liked by many
How would this work?

I have started to re-make my website, and got someone to make me a Flash Navigation bar, but the thing is when I insert a table the flash bar moves down. I have the nav bar aligned left and the table aligned to the center, I tried using float: left; but that wouldn't work.
Here's What I mean
Can anyone help me? What I want is the bar to be even with the table.
Icey is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-13-2004, 08:23 PM   #2 (permalink)
Inactive
 
Join Date: 03-14-04
Posts: 20
iTrader: 0 / 0%
Latest Blog:
None

Icey is liked by many
Would I have to make a frame? I would use them but they often mess up.
Icey is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-13-2004, 08:46 PM   #3 (permalink)
Inactive
 
Join Date: 03-10-04
Posts: 20
iTrader: 0 / 0%
Latest Blog:
None

RockNRollPig is liked by many
Send a message via AIM to RockNRollPig Send a message via MSN to RockNRollPig
I'm afraid you aren't anywhere close to being right. Just think about it with a bit of common sense. Why would the nav bar be even with the table? It's not inside the confines of the table and you haven't set the width of the body either. Just throwing the float left isn't gonna do anything. Put this in your style tags:
[code:1:22509e3830]
body {
margin:0;
padding:0;
margin-left:auto;
margin-right:auto;
width:600px;
text-align:center;
}[/code:1:22509e3830]

Change the margin and padding accordingly. That will make everything stay within the 600px width. Also, you're defeating the purpose of using CSS by putting that text in the table. You really should read up on using CSS. Some places like Glish and BlueRobot.com both have some good resources.[/url][/code]
RockNRollPig is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-13-2004, 09:54 PM   #4 (permalink)
Inactive
 
Join Date: 02-29-04
Location: Indiana
Posts: 464
iTrader: 0 / 0%
Latest Blog:
None

alpha3m is on the right pathalpha3m is on the right path
Send a message via ICQ to alpha3m Send a message via AIM to alpha3m Send a message via MSN to alpha3m Send a message via Yahoo to alpha3m
put your flash nav in a table cell. then do a valign="top" in said table cell.

this will solve your problem.
alpha3m is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-13-2004, 11:29 PM   #5 (permalink)
Inactive
 
Join Date: 03-10-04
Posts: 20
iTrader: 0 / 0%
Latest Blog:
None

RockNRollPig is liked by many
Send a message via AIM to RockNRollPig Send a message via MSN to RockNRollPig
Quote:
Originally Posted by alpha3m
put your flash nav in a table cell. then do a valign="top" in said table cell.

this will solve your problem.
Unless he's using CSS for his layout. Which was my guess from seeing him pull the float: left out.
RockNRollPig is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-14-2004, 05:36 AM   #6 (permalink)
Moderator
 
LazyJim's Avatar
 
Join Date: 10-13-03
Location: UK
Posts: 2,821
iTrader: 0 / 0%
Latest Blog:
None

LazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to all
Send a message via MSN to LazyJim
Yeah it's about time we all stopped adding tables. That's everyones answer to just about every layout problem isn't it! "add a table, that will solve all your problems!!" (yeah right )
__________________

-LJ-

My advice is to look at each case individually, with an informed mind and an appropriately balanced and objective viewpoint.

Web Design and Development, Ipswich, UK.
My deviantArt
LazyJim is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-14-2004, 07:57 AM   #7 (permalink)
Inactive
 
Join Date: 02-07-04
Location: AZ
Posts: 698
iTrader: 0 / 0%
Latest Blog:
None

RonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the rough
Send a message via ICQ to RonHollingsworth Send a message via AIM to RonHollingsworth Send a message via MSN to RonHollingsworth Send a message via Yahoo to RonHollingsworth
Quote:
Originally Posted by LazyJim
Yeah it's about time we all stopped adding tables.
Just use div tags
RonHollingsworth is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-14-2004, 08:48 AM   #8 (permalink)
Moderator
 
LazyJim's Avatar
 
Join Date: 10-13-03
Location: UK
Posts: 2,821
iTrader: 0 / 0%
Latest Blog:
None

LazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to all
Send a message via MSN to LazyJim
yeah <div> is better that tables, but a bit of a shame we have to add anything at all.
__________________

-LJ-

My advice is to look at each case individually, with an informed mind and an appropriately balanced and objective viewpoint.

Web Design and Development, Ipswich, UK.
My deviantArt
LazyJim is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-14-2004, 08:49 AM   #9 (permalink)
Inactive
 
Join Date: 02-07-04
Location: AZ
Posts: 698
iTrader: 0 / 0%
Latest Blog:
None

RonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the roughRonHollingsworth is a jewel in the rough
Send a message via ICQ to RonHollingsworth Send a message via AIM to RonHollingsworth Send a message via MSN to RonHollingsworth Send a message via Yahoo to RonHollingsworth
what da ya mean LJ?
RonHollingsworth is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-14-2004, 08:56 AM   #10 (permalink)
Moderator
 
LazyJim's Avatar
 
Join Date: 10-13-03
Location: UK
Posts: 2,821
iTrader: 0 / 0%
Latest Blog:
None

LazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to allLazyJim is a name known to all
Send a message via MSN to LazyJim
well they are only there to 'contain' bits of the page ready for you to position or style.
If your HTML is well structured and validates as XML, and CSS3 selectors were widely supported you could reference the bits of the page (and style/position them with CSS) without the need to wrap them in a <div>.
__________________

-LJ-

My advice is to look at each case individually, with an informed mind and an appropriately balanced and objective viewpoint.

Web Design and Development, Ipswich, UK.
My deviantArt
LazyJim is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-14-2004, 09:21 AM   #11 (permalink)
Inactive
 
Join Date: 03-14-04
Posts: 20
iTrader: 0 / 0%
Latest Blog:
None

Icey is liked by many
Hmm, I think i'll just tweak the layout a bit, I wasn't really thinking of keeping the layout I have now.
Icey 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
Do you work on personal web projects while you are at work? dndoseller Forum Lobby 12 02-10-2008 10:55 AM


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


All times are GMT -7. The time now is 03:12 AM.
© Copyright 2008 V7 Inc