Log In · Register

 
One tinsy Issuee I'm havinggg
Jamesisgsnap
post Oct 10 2009, 11:07 AM
Post #1


Senior Member
****

Group: Member
Posts: 164
Joined: May 2008
Member No: 647,219



So a friend helped me with coding my website, and I thank him soo much for like, showing me a few things, etc.
Now, My issue is, I have a domain Layout, perfect aligned, everything(didn't add my Ads yet)
And I have everything up, But when Ever I add something, the adbars would move down, like they're BEHIND the Main Section. And so My friend tried something, and it worked.
But when I took out the Page graphics, they disappeared, meaning he aligned them so that when something the size of the 100 Page graphics that I added goes away, they go up; If you add something the same size, they perfect align.

Any Suggestions how to keep the sidebar Like, completely there?

http://gippersnaplyts.com/Practicepage.php
 
 
Start new topic
Replies
fixtatik
post Oct 10 2009, 02:49 PM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



"Invalid" code = not life or death
Messy code = bad

You don't absolutely have to worry about alt attributes and style types. What you do need to pay attention to is the fact that you need to follow basic HTML syntax and close your open tags.

For tables:

The wrong way:
CODE
<table>
  <td> Table content </td></div>
</table>


The correct way:
CODE
<table>
<tr>
  <td> Table content </td>
</tr>
</table>


On the other hand, if you're going to try to pass off a document as XHTML, you probably should know the differences between XHTML and HTML. Otherwise, stick to using HTML doctypes.

The major differences:
- All tags are lowercase in XHTML
- Empty elements must be self-closed (e.g., <input type="text" /> or <br />)
- Image tags must have alternate text, even if it's blank (<img src="URL" alt="" />)
- <center> has been deprecated (that means don't use it). Instead, use <div style="margin:auto;">
- Elements must, must, must be properly nested. That means you can't do things like <p><strong>text</p></strong> -- it must be as <p><strong>text</strong></p>

Those are just the big ones. I'd suggest reading through documentations on HTML and XHTML syntax. It's like going through school: you can't expect to sit down one day and know it immediately. Coding is something you need to spend time learning.

Maybe you should go back to the other thread you made about your site going funky and read through it again. Overall point being, if you don't care, then may you're not ready to run a website. Just because so many other people do, that doesn't mean it's a requirement to live.
 
mipadi
post Oct 12 2009, 09:32 AM
Post #3


Senior Member
******

Group: Administrator
Posts: 2,648
Joined: Apr 2008
Member No: 639,265



QUOTE(fixtatik @ Oct 10 2009, 03:49 PM) *
On the other hand, if you're going to try to pass off a document as XHTML, you probably should know the differences between XHTML and HTML. Otherwise, stick to using HTML doctypes.


The document is being sent as HTML 4.01 Transitional, not XHTML, so XHTML rules don't apply anyway.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: