Results 1 to 9 of 9

Thread: All browser view

  1. #1
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default All browser view

    Hey you all,
    I read a lot in this forum about FF, IE, Mozilla, etc. As I have no idea how to do this, can anyone check this site http://www.casariegoart.com to see if it looks the same in the different browsers, please ?

  2. #2
    Join Date
    Nov 2006
    Location
    England
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The website looks absolutely fine in Internet Explorer and Firefox. These are the two most common browsers people use. My stats tend to suggest that 75% of visitors are using IE, which is unfortunate because my websites always look fine in Firefox then suddenly decide to distort themselves in IE. You can download Firefox for free from http://www.mozilla.com, if you're not already using it.

  3. #3
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    The site looks ok in most of the browsers except a page which is your contact page.

    In IE 7 it looks aligned correctly but in Ff 2.0, Opera 9.02 & Netscape Navigator 8.1.2 the form fields in the contact page looks a bit misaligned it is not that much but the form field are misaligned.

  4. #4
    Join Date
    Nov 2006
    Location
    England
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by codeexploiter View Post
    the form field are misaligned.
    Ah yes I see that now. It's not really noticeable; if anything I thought it was artistic intent!

  5. #5
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Quote Originally Posted by pah1986
    if anything I thought it was artistic intent!
    The misalignment is not visible in IE 7.

  6. #6
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default

    Thanks a lot guys ! I think the problem of the alignment is because I use a lot of tables in the code. Might be solved with css. More about it in this thread

  7. #7
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Instead of using tables for your layouts you can use CSS which offers higher performance by improving the site loading time compared to the table based layouts.

    An article which i thought you may find interesting

  8. #8
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default

    Very interesting article indeed; you convinced me.
    So how do I make the following code with css ?
    Code:
    <html>
    <head>
    </head>
    
    <body background="bgpalet.gif" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    
    <table width="80%" height="100%" border="0" cellpadding="0" cellspacing="0" align=right>
    <tr><td align="center" valign="middle">  
    
    <table border="0" width=100% align=right>
    <tr><td width="120" valign="middle">
    
    </td><td valign="middle" align="right">
    
    <script language="JavaScript" type="text/JavaScript">
    function clearDefault(el) {
    if (el.defaultValue==el.value) el.value = ""
    }
    </script>
    
    <FORM NAME="form1" METHOD="post" ACTION="contactEN.php">
    <input type="hidden" name="action" value="send">
    <table width="100%" valign="top" align=center>
    <tr><td>
    <table width=100%>
    <tr><td align=left>
    <INPUT TYPE=TEXT NAME="name" VALUE="your name" onFocus="clearDefault(this)" style="border:1px solid #666666; width:190px">
    </td></tr>
    <tr><td align=left>
    <INPUT TYPE=TEXT NAME="email" VALUE="your e-mail" onFocus="clearDefault(this)" style="border:1px solid #666666; width:190px">
    </td></tr></table>
    </td><td width=20>
    &nbsp</td><td align=left valign=middle>
    <INPUT TYPE="image" src="emailgo.jpg" NAME="submit" VALUE="go" style="border: 0px">
    </td></tr></table>
    
    <table width="100%" valign="top" align=center>
    <tr><td align=right>
    <TEXTAREA NAME="message" style="border:1px solid #666666; width:265px; height:120px">
    </TEXTAREA>
    </td></tr></table>
    </FORM>
    
    </td></tr></table>
    </td></tr></table>
    
    </body>
    </html>

  9. #9
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    As I have no idea how to do this
    Simply download and install various different browsers.The first step in creating a cross-browser site is to make it validate. Then check it in various browsers and compensate for their bugs.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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
  •