Help - Search - Members - Calendar
Full Version: One tinsy Issuee I'm havinggg
Forums > Resource Center > Webmasters' Corner
Gippersnap
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
fixtatik
You're doing it again. All of your tags are randomly splashed around, you have open tags that you haven't closed, and the structure still isn't following how a document should be set up. It's hard to help when you're repeating the same mistakes.
itanium
This sucks dicks. That's the only advice I'll give.
elletricity
http://validator.w3.org/

Use this. It'll show you where your coding errors are. Fix them, and then it'll be easier to see where the real problem is.

I tested your practice page, and it came up with 163 errors and 7 warnings. I'm pretty sure fixing those would help a great deal.
Gippersnap
Well, right now I don't really care that it's messyyyy

I'm just looking to see why the sidebars go perfectly aligned or w.e when I add something, and then go up when I take the stuff off.

And thanks for the validator
Mike
You should care. It's the reason your layout is fucking up.
elletricity
Being messy is not the point. The point is, it's a lot easier to figure out your problem once you clean up your coding.

Also, there was an alignment problem with my site, but once I validated it, the problem disappeared. So just maybeeeee, maybe, it would be a good idea to fix your errors. whistling.gif
Gippersnap
Well, the reason why I have atleast 100 Warnings/errors is because the Page graphics on the practice page.
It says
QUOTE
kup/Pagegraphics2/88.jpg" border="0"><br><br>



The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.


It's also giving me errors On my Links?
Like, Not the <a href=""></a> but the url to it.
fixtatik
"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.
Gippersnap
Well see, the only reason why I "don't care" About it being messy is because I want my site to be perfectly aligned, and then to fix the messy stuff later.
Like, for example Physical and mental health.

I'd want to do my Physical health before I go to mental so it looks as if nothing is wrong.
elletricity
Do what you like. It's rather difficult to tell where your mistake is when the coding is like that.

Like I said before,
QUOTE(elletricity @ Oct 10 2009, 11:19 AM) *
Also, there was an alignment problem with my site, but once I validated it, the problem disappeared. So just maybeeeee, maybe, it would be a good idea to fix your errors. whistling.gif
IWontRapeYou
QUOTE(Gippersnap @ Oct 10 2009, 09:36 PM) *
Well see, the only reason why I "don't care" About it being messy is because I want my site to be perfectly aligned, and then to fix the messy stuff later.
Like, for example Physical and mental health.

I'd want to do my Physical health before I go to mental so it looks as if nothing is wrong.


Yeah, but sometimes it's your mental health causing your physical problems.
fixtatik
QUOTE(Gippersnap @ Oct 10 2009, 10:36 PM) *
Well see, the only reason why I "don't care" About it being messy is because I want my site to be perfectly aligned, and then to fix the messy stuff later.
Like, for example Physical and mental health.

I'd want to do my Physical health before I go to mental so it looks as if nothing is wrong.

Proper syntax is the physical health of an HTML document. Getting it to look how you want it to look is its mental health.
HeartOfPandora
You're an idiot. Clean up your code like these nice people have been telling you and all your shit will work.

Tbh, you suck at coding.
mipadi
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.
fixtatik
QUOTE(mipadi @ Oct 12 2009, 10:32 AM) *
The document is being sent as HTML 4.01 Transitional, not XHTML, so XHTML rules don't apply anyway.

He was using an XHTML doctype when I mentioned that.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.