Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Some trouble with positioning
Old 01-02-2007, 05:56 PM Some trouble with positioning
Extreme Talker

Posts: 217
Trades: 0
I have sort of a rounded corners deal going on. Before the design was all fixed width so I was able to just have one image for the top and bottom, but now I am switching over to percentages, so I need the corners seperate. The problem is that the top line doesnt go over far enough and the right corner gets shoved down.

here is my CSS:

Code:
#top{

    min-width: 40%;
    max-width: 70%;
    height: 40px;

}
#tlc{
    height: 40px;
    width: 61px;
    background: url(images/tlc.gif);
    float: left;
}
#hl{
    height: 40px;
    background: url(images/hl.gif);

}
#trc{

    height: 40px;
    width: 35px;
    background: url(images/trc.gif);
    float: right;

}
Top is the container that the whole top peice is in. tlc is the top left corner, hl is the horizontal line nad trc is top right corner.

Here is the HTML:
HTML Code:
    <div id="top">
    
        <div id="tlc">
        </div>
        <div id="hl">
        </div>
        <div id="trc">
        </div>
        
    </div>
Here is the page its on: http://helmgames.com/redesign/index.php

annnnd finnaly here is a screenshot comparison of what it looks like, and what its supposed to look like: http://helmgames.com/random/compare.gif
__________________

Please login or register to view this content. Registration is FREE
Slick Nick is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-02-2007, 06:09 PM Re: Some trouble with positioning
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You could try this method for rounded corners:
http://www.html.it/articoli/niftycube/index.html

Or.. you can check this for other methods:
http://www.smileycat.com/miaow/archives/000044.html
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-02-2007, 06:27 PM Re: Some trouble with positioning
Extreme Talker

Posts: 217
Trades: 0
"I have sort of a rounded corners deal going on."

Keyword, Sort Of

look at the picture (at the bottom of my post) to see what I mean. the lefthand side to be specific. As far as I know you need images to do that.
__________________

Please login or register to view this content. Registration is FREE
Slick Nick is offline
Reply With Quote
View Public Profile
 
Old 01-02-2007, 08:56 PM Re: Some trouble with positioning
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
K, the left hand side would require an image, you're right about that.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-02-2007, 09:16 PM Re: Some trouble with positioning
Extreme Talker

Posts: 217
Trades: 0
Ya I know, but that doesnt solve my problem
__________________

Please login or register to view this content. Registration is FREE
Slick Nick is offline
Reply With Quote
View Public Profile
 
Old 01-03-2007, 10:45 AM Re: Some trouble with positioning
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Then you need to look at the rounded corner articles from that 2nd link that specifically address liquid layouts.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-03-2007, 05:42 PM Re: Some trouble with positioning
Extreme Talker

Posts: 217
Trades: 0
I already know how to make rounded corners....

Whatever your not really helping at all il just figure it out myself
__________________

Please login or register to view this content. Registration is FREE
Slick Nick is offline
Reply With Quote
View Public Profile
 
Old 01-04-2007, 01:52 PM Re: Some trouble with positioning
Skilled Talker

Posts: 94
Trades: 0
First off, dont talk to ladynred like that you moron, second. make the corners in photoshop and apply them as backgrounds in the div and it will look fine just like mine, www.karmaguild.net/hound
hellhound121 is offline
Reply With Quote
View Public Profile
 
Old 01-04-2007, 02:09 PM Re: Some trouble with positioning
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
My point was that there were examples of rounded corners, with images in LIQUID LAYOUTS. If you're not willing to look at the coding in those examples, then I can't help you.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Some trouble with positioning
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.43595 seconds with 12 queries