+ Reply to Thread
Results 1 to 3 of 3

Thread: html problem

  1. #1
    xavier2000's Avatar
    xavier2000 is offline x10Hosting Member xavier2000 is an unknown quantity at this point
    Join Date
    Mar 2010
    Posts
    23

    Exclamation html problem

    k i am pretty good with html but this i am having a problem with on my computer the site look pretty good but when i go to my friends computer and the menu on my site is crooked and some others stuff how can i make sure might site looks good on any resolution or can some one look at my site and see if they recommend a way to fix this please help!!!!

    here is the link

    http://freereggie.com

  2. #2
    essellar's Avatar
    essellar is offline Community Advocate essellar has a spectacular aura about
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,153

    Re: html problem

    I'm pretty sure you don't want to know what it looks like on my machine (using any of the five browsers I use for testing). It would be embarrassing. Especially when you consider that the site is meant to represent the interests of visual artists -- it sets the expectations for the art pretty low.

    Looking at the HTML, there's not a lot to like. You're using &nbsp; to create alignment (hint: it never works), underscore characters to create borders (same hint) and font tags that prevent your CSS from working. I don't have Copperplate Gothic Light installed on my system, and I'm not going to install any font for a one-time visit to a web site, but because of the font tags I get to see your page in my browser default font (Georgia). My screen is much wider than your background image and your image doesn't tile well, but because you've used it as an attribute of the <body> tag instead of in the CSS, there's no way for you to make it work on my screen. (And if the image doesn't load for some reason, I get white text on a white background. Hard to read.) And if JavaScript is not enabled, I can't go anywhere on the site.

    The "fix" is to throw out everything but the content and start over. I'll do what I can to fix the index page, but it's a lot of work and it's going to take a while. Have some patience.
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

  3. #3
    essellar's Avatar
    essellar is offline Community Advocate essellar has a spectacular aura about
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,153

    Re: html problem

    I'm just putting the finishing touches on the HTML and CSS for this now. I am throwing out your JavaScript drop-down menu in favor of a variation on this "Pure CSS3 Drop-down Menu". The HTML markup for the menu is a nested set of UL elements because, let's face it, a menu is nothing more than a list of links. Semantically, it's the only right thing to do. CSS is then used to change the display from a series of bullet lists to a horizontal drop-down menu that will support as many levels as you could reasonably use.

    Similarly, your features list has become a list of features rather than a bunch of paragraphs. Markup should be about meaning (semantics); the appearance is a job for CSS. If you do things properly, the page should make perfect sense in a browser that either has CSS disabled, doesn't support CSS, or that was unable to load your stylesheet for whatever reason (I'll return to this point in a bit). Ideally, there should be enough data for a screen reader (like JAWS) or a bot (like the Google search indexer bot) to make sense of the data. That means heading need to be headings (and should be at the correct level), lists should be lists, tables should be tables, field labels should be labels and so forth. Part of the job of fixing this up has been trying to decide what tags, ids and classes to use in order to convey the intent of the information without involving appearance.

    Keep in mind that a browser may be able to load your HTML page, but may be unable to load your stylesheet, JavaScript files or images. The stylesheet issue is an especially big one -- all of your styling info for a given medium (screen, printer, mobile) should be on a single stylesheet. If you mix inline styles with stylesheets or use multiple stylesheets for a single page, you may end up with some elements of the page getting their proper styles and others getting nothing at all, and that's a recipe for disaster. It's far better to have a complete styling failure that leaves the user with a perfectly usable (if horribly plain) page than to have an overlapping mess or, say, white text on a white background.

    And when I post the HTML and the stylesheet, you are going to notice that I've dumped your background image. It might make a good "deep background", something that a solid-colour div sits upon, but it doesn't work as a background for text. There's too much texture, and it's nearly impossible to read the text no matter what colour it is.

    Now, before you start to think that I'm picking on you, I should point out that these are lessons I learned the hard way. If there is a mistake to be made writing a web page, I've made it at some point along the way. I've been at this game since before NCSA Mosaic (the first graphical browser) was released, and I have to say that I am thankful that the Wayback Machine wasn't around to record some of the sites I built in the '90s. Many of my worst mistakes are carefully hidden on corporate intranets. Since I've developed old-people vision and Parkinson's disease, I've begun to appreciate how important usability and accessibility actually are, and have made it my personal mission to make up for those past mistakes and prevent other people from making them when I can.
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

+ Reply to Thread

Similar Threads

  1. Joomla/HTML problem
    By pagan in forum Free Hosting
    Replies: 7
    Last Post: 09-12-2008, 01:41 PM
  2. HTML and CSS problem
    By marshian in forum Programming Help
    Replies: 5
    Last Post: 04-28-2008, 12:06 PM
  3. CSS/HTML Problem REALLY Bugging me.
    By online87 in forum Scripts & 3rd Party Apps
    Replies: 0
    Last Post: 12-03-2007, 04:23 PM
  4. html/css/php problem
    By trebor in forum Scripts & 3rd Party Apps
    Replies: 1
    Last Post: 11-21-2007, 01:59 PM
  5. html problem.
    By monky91 in forum Free Hosting
    Replies: 3
    Last Post: 11-20-2006, 10:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers