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 7 of 7
  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    153
    Thanks
    0
    Thanked 0 Times in 0 Posts

    The best way to apply server side code to Photoshop graphics

    Hi,

    I have been using layers to positions my code over my graphics. Is there a better way then using layers? Because when the screen res changes the layers go all over the place.

    Thanks

  • #2
    Senior Coder ahallicks's Avatar
    Join Date
    May 2006
    Location
    Lancaster, UK
    Posts
    1,134
    Thanks
    1
    Thanked 57 Times in 55 Posts
    How are you coding? What languages are you using? I use Photoshop to initially design my sites then slice them up into graphical sections and place text and links over the graphic and have never had a problems with them moving around? If you need some help post a link so we can see what's going on and why and hopefully sort it out for you!
    "write it for FireFox then hack it for IE."
    Quote Originally Posted by Mhtml View Post
    Domains are like women - all the good ones are taken unless you want one from some foreign country.
    Reputation is your friend

    Development & SEO Tools

  • #3
    Registered User
    Join Date
    Jul 2005
    Posts
    153
    Thanks
    0
    Thanked 0 Times in 0 Posts
    am also sliceing my images in photoshop. Am using layers as shown below.
    <style type="text/css">
    <!--
    #Layer1 {
    position:absolute;
    left:9px;
    top:56px;
    width:976px;
    height:28px;
    z-index:1;
    }
    -->
    </style>
    <div id="Layer1">
    </div>

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Thats your problem. Don't use position:absolute. Start learning to code by hand rather than having a program do the work for you. Let things flow naturally.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #5
    Registered User
    Join Date
    Jul 2005
    Posts
    153
    Thanks
    0
    Thanked 0 Times in 0 Posts
    so just so am clear on the answer layers are the best way to do this?

  • #6
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Not quite sure how server side code in anyway relates to your initial question.
    OracleGuy

  • #7
    Senior Coder
    Join Date
    Jul 2005
    Location
    UK
    Posts
    1,051
    Thanks
    6
    Thanked 13 Times in 13 Posts
    so just so am clear on the answer layers are the best way to do this?
    Layers aren't actually a recognised HTML element. It's just what Dreamweaver chooses to name the divs it creates when you use WYSIWYG mode.

    Like AE said, learn to recognise what the code you're creating actually does. Divs are generally the best way to layout a page, but like most things it depends how you end up using them.


  •  

    Posting Permissions

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