21 replies [Last post]
tooatw
tooatw's picture
Offline
Regular
Last seen: 13 years 14 weeks ago
Joined: 2009-02-09
Posts: 14
Points: 0

what i wanted:

what i got:

code:
.main{
width:100%;
}
.leftc{
float:left;
width:96px;
background:url(images/side_07.gif) repeat-y;
}
.middlec{
background:#0b0b0b repeat-x top;
}
.rightc{
width:220px;
background:url(images/side_07.gif) repeat-y
width:96px;
}
.premain{
width:100%;
background:#0b0b0b url(images/pre_04.gif) repeat-x top;
}
.preleft{
float:left;
width:96px;
height:65px;
background:url(images/pre_03.gif) no-repeat;
}
.premiddle{
height:65px;
}
.preright{
width:96px;
height:65px;
float:right;
background:url(images/pre_06.gif) no-repeat;
}

html:

TEXT HERE

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 6 years 43 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

Was there a question?

Was there a question?

tooatw
tooatw's picture
Offline
Regular
Last seen: 13 years 14 weeks ago
Joined: 2009-02-09
Posts: 14
Points: 0

by the picture one should

by the picture one should realise that the question is why doesnt the text stay in the middle div instead of speading all over the main div

CupidsToejam
CupidsToejam's picture
Offline
Guru
Florida
Last seen: 6 years 43 weeks ago
Florida
Timezone: GMT-4
Joined: 2008-08-15
Posts: 2637
Points: 1556

oh, sorry. My network must

oh, sorry. My network must be blocking your images, cause i dont see any.

Triumph (not verified)
Anonymous's picture
Guru

CupidsToejam wrote:oh,

CupidsToejam wrote:

oh, sorry. My network must be blocking your images, cause i dont see any.

Imageshack strikes again.

Please use a proper image host. Every ISP offers some space for pics, right?

On a side note I also have trouble with flickr images. I wonder if it has something to do with their hotlink policies.

tooatw
tooatw's picture
Offline
Regular
Last seen: 13 years 14 weeks ago
Joined: 2009-02-09
Posts: 14
Points: 0

from my code shouldnt the

from my code shouldnt the text inserted in the middlec stay in the middlec div?

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 4 years 51 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

tooatw wrote:from my code

tooatw wrote:

from my code shouldnt the text inserted in the middlec stay in the middlec div?

Since we can't see a live version all we can do is speculate.

It looks to me like your text IS staying in the middle div, but since you have not provided that div with a set width it defaults to 100%.

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

tooatw
tooatw's picture
Offline
Regular
Last seen: 13 years 14 weeks ago
Joined: 2009-02-09
Posts: 14
Points: 0

how can i give it a fixed



how can i give it a fixed width if i want it to resize for different resolutions
i want the left and right to be fixed width and the middle div to occupy what's left

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 4 years 51 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

Deuce wrote:Since we can't

Deuce wrote:

Since we can't see a live version all we can do is speculate.

Set a % width and margin: 0 auto; :shrug:
Or
add a margin or padding... who knows.

Show us what you've tried at a live test site with all your images, we could probably be of more help.

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

tooatw
tooatw's picture
Offline
Regular
Last seen: 13 years 14 weeks ago
Joined: 2009-02-09
Posts: 14
Points: 0

http://ticcaso.fileave.com/Co

No .RAR files. Post a link or show your code.

tooatw
tooatw's picture
Offline
Regular
Last seen: 13 years 14 weeks ago
Joined: 2009-02-09
Posts: 14
Points: 0

ffs ! here's the

ffs !
here's the code:

Video to Flash converter quickly and easily converts your digital video to the SWF Flash or FLV format. The program has a simple and intuitive interface and has a built-in Flash player and an HTML generator. You will not need any special software, codecs or knowledge to be able to work with Video to Flash converter. Just drag and drop the file you want to convert onto the program window, select the output format and click Start Conversion.

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 1 year 20 weeks ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

No doctype. A proper

No doctype. A proper doctype is a requirement, not an option.

You are abusing divs. DIVS are not the alternative to tables.

Tear it down and start over using proper semantic and valid html and separating style from markup. Sorry if you feel I am being harsh - the truth is often unpleasant. If you don't understand what I am saying here start reading the "How to" forum here. The path you are on with this kind of code will only lead you to headaches and frustration - I am not saying this to put you down but to help you.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

Triumph (not verified)
Anonymous's picture
Guru

tooatw wrote:ffs ! Real

tooatw wrote:

ffs !

Real classy.

tooatw wrote:

... .middlec{
width:*;
padding:1px;
background:#0b0b0b repeat top;
}

width:*; <--- ??? What does that mean?

tooatw
tooatw's picture
Offline
Regular
Last seen: 13 years 14 weeks ago
Joined: 2009-02-09
Posts: 14
Points: 0

how can i do that replace

how can i do that replace all the divs with a easier tag?
and the * is useless i tried adding it because thats how frames work 100,*,100 (not in the initial html)

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 1 year 20 weeks ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

tooatw wrote:how can i do

tooatw wrote:

how can i do that replace all the divs with a easier tag?

With whatever you used to put them there in the first place. As to what tags to use, read up on "semantic html". In short, mark up your content with the tag that describes that part of the content.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

tooatw
tooatw's picture
Offline
Regular
Last seen: 13 years 14 weeks ago
Joined: 2009-02-09
Posts: 14
Points: 0

table doesnt work either

table doesnt work either

afasfas

tooatw
tooatw's picture
Offline
Regular
Last seen: 13 years 14 weeks ago
Joined: 2009-02-09
Posts: 14
Points: 0

help?

help?

Deuce
Deuce's picture
Offline
Guru
Somewhere, USA
Last seen: 4 years 51 weeks ago
Somewhere, USA
Timezone: GMT-5
Joined: 2005-11-20
Posts: 4424
Points: 1843

Ed Seedhouse wrote:As to

Ed Seedhouse wrote:

As to what tags to use, read up on "semantic html". In short, mark up your content with the tag that describes that part of the content.

You have been helped by Ed, he didn't say remark it up in tables. Have you read up on semantic html and tried marking up your content without even worrying about design to make sure your content is correct first?
Then integrate your design after your content is marked up, only adding in additional divs when necessary.

all » http://dictionary.reference.com/browse/all

Google isn't a bunch of guys reading and grading web sites, it's more like a bunch of monkeys sniffing food and putting the good bananas at the top. -Triumph

tooatw
tooatw's picture
Offline
Regular
Last seen: 13 years 14 weeks ago
Joined: 2009-02-09
Posts: 14
Points: 0

im not so bright ok? i

im not so bright ok?
i don't understand
in the semantic thing i saw the table and i tried it
it didnt work out
stop acting as if yuh knew all this from the beginning

tooatw
tooatw's picture
Offline
Regular
Last seen: 13 years 14 weeks ago
Joined: 2009-02-09
Posts: 14
Points: 0

help

help

downtap
downtap's picture
Offline
Enthusiast
Dallas, TX
Last seen: 7 years 25 weeks ago
Dallas, TX
Timezone: GMT-7
Joined: 2008-01-18
Posts: 227
Points: 36

Dude, I'm nobody, but I can

Dude, I'm nobody, but I can tell you that you're not going to get much help with attitude layed out over everything.

I think you need to clearly state out what you're looking for. Ed did give you good advice. Why not start over with the good 'ol content generator here on this site. That will at least get you started in the right direction. People that help out here, don't do it to do the work for you. They want to empower you to be able to do it.

tooatw
tooatw's picture
Offline
Regular
Last seen: 13 years 14 weeks ago
Joined: 2009-02-09
Posts: 14
Points: 0

thanks

thanks