Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Need CSS.

  1. #1
    New Coder
    Join Date
    Jul 2007
    Posts
    56
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Question Need CSS.

    I need CSS for my site, which I sort of need the background, buttons, header, boarder and a place where I can write on, and a footer. But, I need a background for internet explorer and one for firefox, I'm not sure if CSS will fix the browser incompatibility. Internet explorer drops the background 7 pixels which the navigation bar is supposed to be lined up with. If I supply the source can someone script some CSS for me?

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
      <meta content="text/html; charset=ISO-8859-1"
     http-equiv="content-type">
      <script language="JavaScript">
    <!-- Hide the script from old browsers --
    
    img0_on = new Image(100,50);
    img0_on.src="images/mouseoverbuttons/homeover.png";
    img0_off = new Image(100,50);
    img0_off.src="images/normalbuttons/homebutton.png";
      
    img1_on = new Image(103,50);
    img1_on.src="images/mouseoverbuttons/forumover.png";
    img1_off = new Image(103,50);
    img1_off.src="images/normalbuttons/homeforumbutton.png";
    
    img2_on = new Image(101,50);
    img2_on.src="images/mouseoverbuttons/blogover.png";
    img2_off = new Image(101,50);
    img2_off.src="images/normalbuttons/homeblogbutton.png";
     
    img3_on = new Image(101,50);
    img3_on.src="images/mouseoverbuttons/galleryover.png";
    img3_off = new Image(101,50);
    img3_off.src="images/normalbuttons/homegallerybutton.png"; 
    
    img4_on = new Image(101,50);
    img4_on.src="images/mouseoverbuttons/contactover.png";
    img4_off = new Image(101,50);
    img4_off.src="images/normalbuttons/homecontact.png"; 
    
    
    
    function over_image(parm_name)
        {
            document[parm_name].src = eval(parm_name + "_on.src");
        }
    function off_image(parm_name)
        {
            document[parm_name].src = eval(parm_name + "_off.src");
        }
    // --End Hiding Here -->
      </script>
      <title>Notre Productions - Home</title>
    </head>
    <body style="background-image: url(hugebackground_ie.png);">
    <div style="text-align: center;"><span
     style="text-decoration: underline;"><a href="http://notre.pakman20.com"><img
     alt="Notre Productions - &quot;Free Graphic Requests&quot;"
     src="banners/barlogo.png"
     style="border: 0px solid ; height: 135px; width: 750px;"></a><br>
    <img alt="" src="images/homefront.png"
     style="width: 110px; height: 50px;"><img alt=""
     src="images/dividers.png" style="width: 2px; height: 50px;"><a
     href="http://notre.pakman20.com" onmouseover="over_image('img0');"
     onmouseout="off_image('img0')"><img alt="Home"
     src="images/normalbuttons/homebutton.png" name="img0" border="0"></a><img
     alt="" src="images/dividers.png" style="width: 2px; height: 50px;"><a
     href="http://notre.pakman20.com/forum.html"
     onmouseover="over_image('img1');" onmouseout="off_image('img1')"><img
     alt="Forum" src="images/normalbuttons/homeforumbutton.png" name="img1"
     border="0"></a><img alt="" src="images/dividers.png"
     style="width: 2px; height: 50px;"><a
     href="http://notre.pakman20.com/blog" onmouseover="over_image('img2');"
     onmouseout="off_image('img2')"><img alt="Blog"
     src="images/normalbuttons/homeblogbutton.png" name="img2" border="0"></a><img
     alt="" src="images/dividers.png" style="width: 2px; height: 50px;"><a
     href="http://notre.pakman20.com/gallery"
     onmouseover="over_image('img3');" onmouseout="off_image('img3')"><img
     src="images/normalbuttons/homegallerybutton.png" name="img3" border="0"></a><img
     alt="" src="images/dividers.png" style="width: 2px; height: 50px;"><a
     href="http://notre.pakman20.com/contact"
     onmouseover="over_image('img4');" onmouseout="off_image('img4')"><img
     src="images/normalbuttons/homecontact.png" name="img4" border="0"></a><img
     alt="" src="images/dividers.png" style="width: 2px; height: 50px;"><img
     alt="" src="images/homeback.png" style="width: 110px; height: 50px;"><br>
    </span></div>
    </body>
    
    </html>
    Sorry about the Javascript, but is there a way to make the rollover buttons in CSS? Sorry if I'm asking for too much.

    Anyway, That one has the background for Firefox, but here's the code for the internet explorer one.

    http://notre.pakman20.com/project/hugebackground_ie.png

    Internet Explore index : http://notre.pakman20.com/project/index_ie.html

    Firefox Index : http://notre.pakman20.com/project/index_ff.html

    I am actually trying to design of this site (which looks awesome in my opinion): http://www.curve2.com/products.php - and I need a writing area such as where the autoboss information is placed and I will supply the side shading images that outline the table. If you wish to take on this project I could offer something but I'm not sure. Virtual Cake? Just Kidding. I really don't have much to give except for graphics and stuff. :S
    Last edited by Notre; 07-19-2007 at 11:38 PM.

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,624
    Thanks
    6
    Thanked 1,001 Times in 974 Posts
    Sorry to disappoint you but this forum is about asking for help with problems or questions related to coding, not to ask for favors and offering nothing in return. I can offer you sources to learn from:



    If you want someone to spend/waste time on your page then pay him/her. This is not the right place to demand something.

    Well, maybe you’re lucky and there is someone that doesn’t have better things to do…

    Edit: Oh just remembered there was an offer: http://codingforums.com/showthread.p...348#post590348 Just note: You’ll almost always get what you pay for.

  • #3
    New Coder
    Join Date
    Jul 2007
    Posts
    56
    Thanks
    8
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by VIPStephan View Post
    Sorry to disappoint you but this forum is about asking for help with problems or questions related to coding, not to ask for favors and offering nothing in return. I can offer you sources to learn from:



    If you want someone to spend/waste time on your page then pay him/her. This is not the right place to demand something.

    Well, maybe you’re lucky and there is someone that doesn’t have better things to do…

    Edit: Oh just remembered there was an offer: http://codingforums.com/showthread.p...348#post590348 Just note: You’ll almost always get what you pay for.
    Anyway, Thanks for the link, I'm just used to working on a graphics request site I guess so I sort of get what you mean.


  •  

    Posting Permissions

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