Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Junior Member Zyranium's Avatar
    Join Date
    Dec 2013
    Location
    Earth
    Posts
    14
    Member #
    37871

    Nooby Designer here, with my problems.

    *rubs sweat off of forehead* Oh god I hope I can explain this correctly.

    So, I am making a website that will be my main site for everything I do (My first website). So far, the design has worked perfectly. But I have a few problems.

    When I zoom out of my webpage, the main body (blue) goes away from the 2 sidebars and header. Website diagram.jpg

    I took the screenshot directly from which I zoomed out. Everything BUT the body stays in place. How does everyone else do that?

    Second problem, which I don't know if anyone can help me with.

    Here is what I will be talking about: Screenshot from 2013-11-27 18:54:33.jpg

    The header is what I am focused on. That text uses a special font that I use as an "official font" if you may call it that. So, I used a graphic. It is the exact height and width as the div tag it is on, and I think it will stay (That specific font is not on Google Fonts, so tough luck for me).

    The tabs. (Home, Photos, About me, and contact). I have separate graphics for each tab. They are black in the picture, but I want them to fade to white.

    (As I said, I have the graphics:
    http://i.imgur.com/l8BrfX8.png
    http://i.imgur.com/gW9ZNlm.png
    http://i.imgur.com/UBholXm.png
    http://i.imgur.com/mD9hRS7.png)

    How exactly would I do that?

    Sidenote regarding how I will place those white tab images:
    Here is a picture I have of some div tags that should contain the images. Later after I screened my div tags, I moved them down over the tabs. So yeah. How would I get the black text to turn into the white text?
    Screenshot from 2013-11-28 13:29:31.jpg

    I hope you guys understand what I meant. I am not very good at explaining things, so I added pictures if it helps.

    Sincere,

    Zyranium

  2.  

  3. #2
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    What font are you using? If it's capable of being embedded (and comes with the license for it), you could use @font-face to embed the font. From there, it'd just be CSS hovers, no images. The way I suspect you're trying to do this would require javascript to swap images, which is unnecessary and really clunky.

    Regarding the zoom problem. Is it safe to assume you're working on a fixed-width layout? If so, that'd be your problem. Set your layout using relative widths like %, em or rem units. Relative units will scale with the site, where fixed units like px or pt won't.
    Last edited by Ronald Roe; Dec 04th, 2013 at 09:13 AM.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  4. #3
    Junior Member Zyranium's Avatar
    Join Date
    Dec 2013
    Location
    Earth
    Posts
    14
    Member #
    37871
    Quote Originally Posted by Ronald Roe View Post
    What font are you using? If it's capable of being embedded (and comes with the license for it), you could use @font-face to embed the font. From there, it'd just be CSS hovers, no images. The way I suspect you're trying to do this would require javascript to swap images, which is unnecessary and really clunky.

    Regarding the zoom problem. Is it safe to assume you're working on a fixed-width layout? If so, that'd be your problem. Set your layout using relative widths like %, em or rem units. Relative units will scale with the site, where fixed units like px or pt won't.
    The font I am using is called "Fireye" found on Fireye GF Font | dafont.com. Dunno if it has a lisense or if dafont automatically gives it a license, but I'll look into embedding the font. As for the zoom, I found out something really stupid of me.

    I originally intended to have the tabs under a table, but then later added div tags INSIDE the table without me knowing. I just found this out today. I have removed the table, but still problems. I tried everything. I replaced px with em, rem, and %. Whenever I do those, all the div boxes look very enlarged (The graphic that is in the header is enlarged when I replace px with em/rem/%)

    Dunno what I should do. I can give the source code if you'd like.

  5. #4
    Junior Member Zyranium's Avatar
    Join Date
    Dec 2013
    Location
    Earth
    Posts
    14
    Member #
    37871
    Alright. Update time. Since the sidebars, header, and footer weren't having problems, I decided to put "em:1" after the length and width of the body div tag I have (Also, I did the em thing wrong last time, I guess I am doing it right now.). The body div box disappeared. It is nowhere on the page. I really don't know what happened.

  6. #5
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    em is a unit, not an attribute.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."

  7. #6
    Junior Member Zyranium's Avatar
    Join Date
    Dec 2013
    Location
    Earth
    Posts
    14
    Member #
    37871
    Quote Originally Posted by Ronald Roe View Post
    em is a unit, not an attribute.
    When I replaced px with em, everything appeared enlarged. Like, really badly.

    Here is my source code for that blue body box.

    Code:
    #body {
        background-color:#98C4FF;
        height:1884px,1em;
        width:1251px,1em;
        float:right;
    }


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:46 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com