1.

Solve : Text by nav bar?

Answer»

Im tring to get text out by my navigation bar but every TIME I try to do this the text is either entered into the nnavigation bar or it is put underneath it. In other words I want the text and the nav bar to be on the same line. Here is the nav bar code:  

row 1, column 1
row 2, column 1
row 3, column 1
row 4, column 1
row 5, column 1
row 6, column 1
row 7, column 1
row 8, column 1
row 9, column 1
row 10, column 1
The secret is CSS (cascading style sheets).  Try changing this: <table border="3" bordercolor="Black" width="20%" bgcolor="00FF00">to this: <table border="3" bordercolor="Black" width="20%"
 bgcolor="00FF00" style='float: left;'>"bordercolor": what browsers recognise that attribute?I lost some of the post. Its cut off. can you type the part after bgcolor?

And what do you mean what browser recognises the "bordercolor"? Quote
I lost some of the post. Its cut off. can you type the part after bgcolor?
I've amended the post.  You should be able to see it now.

Quote
And what do you mean what browser recognises the "bordercolor"?
It's not a valid attribute according to the HTML 4 specification.  >See here<.  You should bookmark the >WDG HTML 4.0 Reference< - it's completely invaluable.

Then bookmark the >CSS 2.0 reference< and google for some tutorials on CSS.Muncill, why are you using this:


to DISPLAY this:
Hey thanks rob. And it works in my browser  :-/ .

Quote
Muncill, why are you using this:


to display this:

And why does it matter, it still works.

Why waste the bandwidth?  It's a simple matter to resize the image to the actual size of the avatar and then USE that image.  38,892 bytes vs. 2,778.Hey rob I want to put a table under a table on the right side, and Im using the code you gave me but when I put the other table under the other one it puts one table by the other instead of under it I have a pic of what it LOOKS like and what I want it to look like. This is how it is.Here is the way i want it.There are three main solutions to this:
  • use a right floated table as well as a left floated table
  • use nested tables
  • use a CSS layout
Your intended design doesn't seem to be too complicated, so I would go for the third option.  Stu Nicholls is the recognised grandmaster of CSS, and if you view the source of >this page< you can find out how to make a layout like yours WORK.  And >here< is a slightly more complex CSS method.[/highlight]
row 1, column 1
row 2, column 1
row 3, column 1
row 4, column 1
row 5, column 1


The highlight is part I took from the source code. Is that where I would put it?
No.  If you're using those CSS designs, just copy the entire page.  Then insert your tables, whole, into the left and right DIVs.o, ok.


Discussion

No Comment Found