SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member KittyBlackwood's Avatar
    Join Date
    Nov 2003
    Location
    Fairmont
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Error with CSS script on resolution

    If some CSS guru out there could assist, it would be greatly appreciated.

    I have a website (http://www.clarksburgblueprint.com) which uses the following script:
    http://www.clarksburgblueprint.com/css/clarksburg.css

    When I adjust my resolution to 1152x864, the center content suddenly shifts down and makes the page twice as long. Any suggestions?

    I'm new to CSS, but I'm sure that will be obvious! Thanks for your time.

  2. #2
    Ensure you finish what you sta bronze trophy John Colby's Avatar
    Join Date
    Aug 2003
    Location
    University of Central England, U.K.
    Posts
    487
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In IE, yes it does, in Firebird, no it doesn't.

    So that tells me it's not your code per se, but aome tweak you've got to put in for IE. Needs someone with more experience to tell you what.
    John
    No electrons were harmed during the creation, transmission
    or reading of this posting. However, many were excited and
    some may have enjoyed the experience.

  3. #3
    SitePoint Enthusiast
    Join Date
    Sep 2003
    Location
    Germany
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your HTML is very messy and that alone is often a reason for erratic behaviour in different browsers. You should seriously considering cleaning up your HTML. Running your page through the W3C HTML Validator will give you pointers to where you need to make changes to get your code clean.

    As for the problem you asked about, i also got this jumping of text behavior in IE only and not in Firebird. The reason was the "align=justify" tag in the offending paragraph:
    Code:
    <DIV class=center>
    <P></P>
    <P align=justify><FONT color=#000000><B>Clarksburg Blue-Print Company, of 
    Clarksburg, WV is a leader in the print industry. Our large scale <A 
    href="http://www.clarksburgblueprint.com/copy.shtml">plotters</A>, <A 
    href="http://www.clarksburgblueprint.com/scanning.shtml">scanners</A> and <A 
    href="http://www.clarksburgblueprint.com/copy.shtml">copiers</A> are used 
    extensively for large projects throughout the state. We also provide <A 
    href="http://www.clarksburgblueprint.com/doc.shtml">document management</A> 
    services for firms during and after bidding. </B><STRONG><I>Please call (304) 
    623-5702 or <A href="mailto:cbc@clarksburgblueprint.com">email</A> for any price 
    quotes!</I></P>
    But apart from that you should invest some time in making your whole code cleaner and adhearing at least to the most basic web standards like mentioned above to avoid problems like this.

    HTH!

  4. #4
    SitePoint Member KittyBlackwood's Avatar
    Join Date
    Nov 2003
    Location
    Fairmont
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by martin³
    Your HTML is very messy and that alone is often a reason for erratic behaviour in different browsers. You should seriously considering cleaning up your HTML. Running your page through the W3C HTML Validator will give you pointers to where you need to make changes to get your code clean.

    As for the problem you asked about, i also got this jumping of text behavior in IE only and not in Firebird. The reason was the "align=justify" tag in the offending paragraph:
    Code:
    <DIV class=center>
    <P></P>
    <P align=justify><FONT color=#000000><B>Clarksburg Blue-Print Company, of 
    Clarksburg, WV is a leader in the print industry. Our large scale <A 
    href="http://www.clarksburgblueprint.com/copy.shtml">plotters</A>, <A 
    href="http://www.clarksburgblueprint.com/scanning.shtml">scanners</A> and <A 
    href="http://www.clarksburgblueprint.com/copy.shtml">copiers</A> are used 
    extensively for large projects throughout the state. We also provide <A 
    href="http://www.clarksburgblueprint.com/doc.shtml">document management</A> 
    services for firms during and after bidding. </B><STRONG><I>Please call (304) 
    623-5702 or <A href="mailto:cbc@clarksburgblueprint.com">email</A> for any price 
    quotes!</I></P>
    But apart from that you should invest some time in making your whole code cleaner and adhearing at least to the most basic web standards like mentioned above to avoid problems like this.

    HTH!
    Thanks for the comments. I've validated the code and corrected those issues and it apparently fixed the issue. I was surprised to learn a good number of the errors were created by FLASH MX2004 code, in the new.txt include. Thought that wouldn't be the case! I appreciate your time and I will continue to improve my coding skills!

  5. #5
    SitePoint Enthusiast
    Join Date
    Sep 2003
    Location
    Germany
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just out of curiosity, where does Flash come into play with this site. I do not see any reference to Flash here, or do you maybe mean Dreamweaver?
    Glad to help


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •