1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

This page is not Valid XHTML 1.0 Transitional!

Discussion in 'HTML & Website Design' started by RemyXO, Jul 9, 2008.

  1. Masim man

    Masim man Active Member

    Messages:
    73
    Likes Received:
    4
    Best Answers:
    2
    Trophy Points:
    58
    #21
    Yes, bgcolor is not valid for XHTML, you can use the style:
    <body style="background:#fff;" onload=...

    For RemyXO:
    How if you copy all the header codes to the index page and replace the body tag with the preload. And in you index page set not to load the header.php?

    Or maybe you can make another header for your index page. (eq: header2.php)

    For Blueparukia,

    I don't agree with you, I love dreamweaver, even my first editor is Notepad++,

    If you use dreamweaver it's easy to fix this problems, you can convert it to xhtml from the file menu.
     
    Masim man, Jul 9, 2008 IP
  2. RemyXO

    RemyXO Peon

    Messages:
    176
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #22
    @chopsticks: I hear of fireworks, but I never asked about it or even looked at what it does. I will be sure to check it out sometime soon.

    @Masim man: There are other pages that requires the preload, so I don't think i'll make anymore headers, but instead ill take your first advice. Thank you. Also, I didn't know i was able to change it to xhtml. I see the option now, but what exactly does that do? Does it fix the codes automatically?


    Also, whats the different from HTML and XHTML?
     
    RemyXO, Jul 9, 2008 IP
  3. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #23
    HTML is like this:
    
    <br>
    
    Code (markup):
    xHTML is like this:
    
    <br/>
    
    Code (markup):
    There are other differences, but in basicness, xHTML is much more strict, and doesn't give you as many exceptions with bad coding as HTML does.
     
    blueparukia, Jul 9, 2008 IP
  4. RemyXO

    RemyXO Peon

    Messages:
    176
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #24
    That would explain why some programs I use only shows <br> while others has <br />
    :)
     
    RemyXO, Jul 9, 2008 IP
  5. RemyXO

    RemyXO Peon

    Messages:
    176
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #25
    Can someone help me out with this. I am totally suck for a 2 hours on the same problem. Markup

    Line: 62
    &
    Line 319
     
    RemyXO, Jul 10, 2008 IP
  6. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #26
    Oh fine.

    Line 62:
    Replace:
    With
    As for line 319, your code is too crap to tell, but it looks like multiple directly nested tds, where one hasn't been closed.

    But forget validating it, your code will still be terrible, even if is valid. I'd recommend learning to code or paying someone else to do it, because you page is taking me forever to load with all the icky images.
     
    blueparukia, Jul 10, 2008 IP
  7. RemyXO

    RemyXO Peon

    Messages:
    176
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #27
    I'm actually learning a lot from these forums, but thanks for the advice. I'm just wondering, are you still using dial up? The page loads for me within 3 seconds.
     
    RemyXO, Jul 10, 2008 IP
  8. RemyXO

    RemyXO Peon

    Messages:
    176
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #28
    I finally got everything fixed, thanks to everyone who helped in the process of it.
     
    RemyXO, Jul 10, 2008 IP
  9. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #29
    I am now.

    But when I posted I was using 1.5Mbps.
     
    blueparukia, Jul 11, 2008 IP
  10. RemyXO

    RemyXO Peon

    Messages:
    176
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #30
    No one else seems to have that problem, so I find it kind of odd. Maybe you was lagging that night.
     
    RemyXO, Jul 11, 2008 IP
  11. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #31
    I didn't have a problem with the total loading time, but I sure got to sit there and watch each individual image load seperately. Watching a page load in chunks isn't always avoidable, but well-written code and proper use of images in the background can really reduce that jiggiddy jig. Total loading time for me, on high-speed, was about 5-8 seconds.
     
    Stomme poes, Jul 15, 2008 IP
  12. Limotek

    Limotek Peon

    Messages:
    165
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #32
    I agree with you to some degree. It's much easier to use notepad as you have full control over your code but I've found some features of Dreamweaver useful such as when renaming files, Dreamweaver amends the links automatically.
     
    Limotek, Jul 16, 2008 IP
  13. libertygone

    libertygone Active Member

    Messages:
    2,625
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    90
    #33
    dont use dreamweaver
     
    libertygone, Jul 16, 2008 IP
  14. Limotek

    Limotek Peon

    Messages:
    165
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #34
    I may be opening a can of worms here but I quite like using Dreamweaver. I like the fact you can use the design view to easily preview the output. I do have to keep an eye on the code however. Does anyone use anything besides a text editor?
     
    Limotek, Jul 22, 2008 IP
  15. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #35
    This is your greatest enemy as a dreambeaver user. The design view is u-s-e-l-e-s-s.

    It's basically got it's own rendering engine, like every browser has, to turn your code into something you can see. Problem is, it's not the same redering engine that any ACTUAL browser uses. So you are basically looking at your site in a "browser" that doesn't exist. Every real browser has a different rendering engine, so what's much much better is to have all your browsers open, write your code, and keep checking in all the real browsers (refresh, refresh, refresh) every time you make a change rather than design view.

    For the lines around stuff and whatnot, you use CSS tricks like giving your floats ugly primary colours as backgrounds to see where they are and what's going on... remove these when you're done.
     
    Stomme poes, Jul 25, 2008 IP
  16. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #36
    Actually, it uses Opera's rendering engine. It just seems to have f**ked it up majorly.

    CS4 will use webkit.
     
    blueparukia, Jul 25, 2008 IP
  17. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #37
    Yeah, I heard, but if it doesn't actually render like Opera it's still basically useless. : )
     
    Stomme poes, Jul 25, 2008 IP
  18. chopsticks

    chopsticks Active Member

    Messages:
    565
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #38
    Save + Refresh on the browser window and your set.

    Forget about the design view!

    Thats so true and useful. It even helps when you are having problems with the padding or margins forcing items of say 40% and 60% to not appear on the same line even though they equal 100%.

    Also useful when checking that each browser renders the site the same.
     
    chopsticks, Jul 25, 2008 IP
  19. Masim man

    Masim man Active Member

    Messages:
    73
    Likes Received:
    4
    Best Answers:
    2
    Trophy Points:
    58
    #39
    I still love Dreamweaver,

    I know Dreamweaver has bad things, but I only use the tools that really help me. And always work in code view.

    RemyXO, who has started this thread, sent PM to me that he had fixed more than 200 errors by converting it to xhtml (only two cliks).
    So, I think it's not bad idea using Dreamweaver to save our time. But if you want to learn HTML avoid it.

    That's exactly the trick I use while work with HTML and CSS, very useful trick.
     
    Masim man, Jul 25, 2008 IP
  20. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #40
    Two clicks.

    The code will be valid, but I can gaurantee it'd be far from good on this particular site. Validity doesn't matter if you ain't gonna use good code IMO, and since its tables it really doesn't matter.

    Also, how do you learn ANYTHING from 2 clicks?
     
    blueparukia, Jul 26, 2008 IP