|
Posted by Jonathan N. Little on 08/30/06 17:55
Please do not top post.
mg@deepskystudio.com wrote:
> Hi there, this is just a mock up for someone to look at and not a
> finished page. The form buttons are non-functional, they were just for
> a visual aid.
Okay, okay let me get this straight your are saying "My markup is
totally invalid, but that is okay because it is *just* a mock up, so why
doesn't it display properly?"!!!! Good one!
> The text is all the way to the left of the red "button."
> The text is not in the "middle" of the <td> because of the "button." If
> i take the "button" out, the text shifts back to its proper place in
> the "middle." - MG
Do you mean vertically? Well it does not matter because of my first
point, your markup is rife with errors. It displays, consider yourself
lucky.
If you wish to control the presentation of your webpage your must first
correct your markup, then correct your CSS. My initial advice still
stands, please review and linger a bit on #4
> Jonathan N. Little wrote:
<snip>
>>
>> 1) You should not use a TABLE to layout your page.
>> 2) You should not place block elements (TABLE) with a SPAN, SPANs should
>> contain inline elements
>> 3) SUBMIT buttons are not links and require a FORM as a parent.
>> 4) Shall I go on? You need to study some basic tutorials, view the spec
>> (www.w3.org/TR/html4/cover.html#minitoc), get a book, or better yet all
>> three!
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|