Jump to content


Content Box Coding Help


2 replies to this topic

#1 Samiwerty

    Young Padawan

  • Members
  • Pip
  • 135 posts

Posted 20 April 2005 - 02:04 PM

Ok so i don't know how to do this...

I have designed a site and im coding it now.. Im not sure how i would code the navigation content box.
Look here for my site design : Click Here!!!

So i would want to code that navigation content box... I don't know should i use CSS doing it or basic HTML.. like

Quote

HTML Code
<table>
  <tr>
        <td><img src="nav.jpg"></td>
  </tr>
  <tr>
        <td background="nav-content.jpg">Home</td>
  </tr>
</table>
or like

Quote

CSS Code
<table>
  <tr>
        <td><img src="nav.jpg"></td>
  </tr>
  <tr>
        <td class="nav">Home</td>
  </tr>
</table>
Those were only examples that you would understand what im trying to ask!
Soo should i use CSS or HTML?? :blink: Wich would be better? I don't know im pretty n00b in HTML and CSS! But hope someone will help :unsure:

#2 Jaymz

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 4,104 posts

Posted 20 April 2005 - 04:25 PM

CSS is more standards complaint, since in a valid HTML/XHTML page, there is no "background" attribute.

#3 Samiwerty

    Young Padawan

  • Members
  • Pip
  • 135 posts

Posted 21 April 2005 - 07:30 AM

Ahw! :) I didn't know that... well thanks anyways





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users