Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 05-10-2007, 03:47 AM   #1 (permalink)
Inactive
 
Join Date: 05-10-07
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

andybhoy is liked by many
text area

hi,

i am doing a site for a friend (but im quite a novice!) and she wants a layout similar to this site http://www.volunteerlatinamerica.com/index.html

in the site i am designing i have created the whole layout through fireworks (nav buttons on the left, pictures at the bottom and logo etc at the top. in the middle i wanted a scrollable text area (like you see in the site shown) can someone please, please tell me how to do this... ive searched and searched and just cant do it...

at the moment the page is in a table, centered. its all 1 image (i.e not cut up into buttons, top, bottom etc...)

sorry i cant show you the actual page as i have no space to upload to yet. i hope you guys understand what im describing! is there a better way to get the end result? or should i put the text in a layer? if so how can i stop it moving all over the place in different res's

thanks very much.
andybhoy is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-10-2007, 04:52 AM   #2 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,009
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
You can specify the overflow attribute, as follows:

This will display a vertical scrollbar when the content in the specified div exceeds the 200px specified height.

(I hope this make sense)

Quote:
<style type="text/css">

.scrollableArea
{
height: 200px;
overflow-y: scroll;
}

</style>
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-10-2007, 06:36 AM   #3 (permalink)
Inactive
 
Join Date: 05-10-07
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

andybhoy is liked by many
thanks costin for your reply, but how do i actually begin to type there? is inserting a text layer the way to do it?
andybhoy is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-10-2007, 08:56 AM   #4 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,009
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
<div class="scrollableArea">
...
you have to insert here the content
you want to be scrolled.
...
</div>

ok?
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-11-2007, 02:31 AM   #5 (permalink)
Inactive
 
Join Date: 05-11-07
Posts: 10
iTrader: 0 / 0%
Latest Blog:
None

jamesshrugged is liked by many
thanks for the link costin

What i am having trouble with is creating the area to place the content into...

i want to be able to put text and pictures over this background...

<td>
<img src="http://www.geocities.com/blueandcassius/copyoblueandcassiuscopy6-04.gif" width="609" height="506" alt=""></td>
</tr>

but it think the problem is that this graphic isnt the background for the whole site.. just this one section... do you have any ideas?
jamesshrugged is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-11-2007, 03:23 AM   #6 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,009
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
Let me see if I got this right...

You have table cell which has a bg image.

And you want to add some text into that cell, right?
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-11-2007, 03:28 AM   #7 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,009
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
the css style:

Quote:
td.ContentEditableCell {
background-image: url('http://www.geocities.com/blueandcassius/copyoblueandcassiuscopy6-04.gif');
background-repeat: no-repeat | repeat | repeat-x | repeat-y; /* choose just one of these possible values */
background-position: top left;
width: 609px !important;
height: 506px !important;
}
In the html:

Quote:
<td class="ContentEditableCell">
...
add anything here...
...
</td>
hth.
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-11-2007, 05:02 AM   #8 (permalink)
Inactive
 
Join Date: 05-10-07
Posts: 3
iTrader: 0 / 0%
Latest Blog:
None

andybhoy is liked by many
http://africaandy.bpweb.net/index.html

costin - thats the link to my site, i got my space set up...

you can see the area i would like to have text in now...

thanks
andybhoy is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-11-2007, 05:06 AM   #9 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,009
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
I saw it, and the above example will do it.

If there is a table cell in which you're displaying your content, then add the class="ContentEditableCell" attribute to the container cell.

if it's a div, add the class="ContentEditableCell" attr to it.

That will do it.
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-11-2007, 07:55 AM   #10 (permalink)
Inactive
 
Join Date: 05-11-07
Posts: 10
iTrader: 0 / 0%
Latest Blog:
None

jamesshrugged is liked by many
thank you for your reply costin.

My problem is that the image isn't set as a background. when i made the template i just made a bunch of graphics. I wanted that large one there to be a background, for that cell that it is in, and have content over it, but i am having trouble figuring out how to make that image a background image

geocities.com/blueandcassius
jamesshrugged is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-11-2007, 08:03 AM   #11 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,009
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
I've already showed you how:

Quote:
td.ContentEditableCell {
background-image: url('http://www.geocities.com/blueandcassius/copyoblueandcassiuscopy6-04.gif');
background-repeat: no-repeat | repeat | repeat-x | repeat-y; /* choose just one of these possible values */
background-position: top left;
width: 609px !important;
height: 506px !important;
}
it's not that hard
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-11-2007, 08:18 AM   #12 (permalink)
Inactive
 
Join Date: 05-11-07
Posts: 10
iTrader: 0 / 0%
Latest Blog:
None

jamesshrugged is liked by many
awesome thanks! how can i do that with html?
jamesshrugged is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-11-2007, 08:24 AM   #13 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,009
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
This is yhe page 2. Go to page 1, and you'll see the example provided.

Seriously, after creating the css class (that from the above example), all you have to do is to set the class name to the container cell (the one in which you display content)

ok?
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-11-2007, 09:34 AM   #14 (permalink)
Inactive
 
Join Date: 05-11-07
Posts: 10
iTrader: 0 / 0%
Latest Blog:
None

jamesshrugged is liked by many
ok... i sort of got it to work thank you so much for you patience...

i can now insert text over the image.. but the image is coming up cropped

here is the code i used
.................................................. .......
<td style="background-image:url(http://www.geocities.com/blueandcass...copy6-04.gif); width="609" height="506"
">
<div class="ScrollableArea">

you have to insert here the content
you want to be scrolled.

</div>
</tr>
.................................................. .........


and here is what happened.. geocities.com/blueandcassius
jamesshrugged is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-11-2007, 10:19 AM   #15 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,009
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
So, the picture seems to be smaller than the container is...

or

You have two cells there, one to the left and one to the right and you apply the background image only to the right cell...


so, which one is it...??
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-11-2007, 10:20 AM   #16 (permalink)
Inactive
 
Join Date: 05-11-07
Posts: 10
iTrader: 0 / 0%
Latest Blog:
None

jamesshrugged is liked by many
Nevermind, I figured it out! yay! thanks costin!
jamesshrugged is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-11-2007, 10:21 AM   #17 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,009
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
Great!

Glad I could help!
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-11-2007, 10:21 AM   #18 (permalink)
Inactive
 
Join Date: 05-11-07
Posts: 10
iTrader: 0 / 0%
Latest Blog:
None

jamesshrugged is liked by many
its just that for some reason the image is cropping to meet the amount of text, so i put in enough text for the whole pic to show up. its kinda a cheap fix i guess, but it works
jamesshrugged is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-12-2007, 08:30 PM   #19 (permalink)
Inactive
 
Join Date: 05-11-07
Posts: 10
iTrader: 0 / 0%
Latest Blog:
None

jamesshrugged is liked by many
gah.. im having another problem..it looks perfect in firefox, but in ie it looks horrible. it isnt making a scrollbar, its just repeating the image over and over to fit the text. What can I do?
jamesshrugged is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-14-2007, 03:14 AM   #20 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,009
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
What's the size of your image?
What's the size of your containing area?

Are these size equals? Because if they're not then the image repeats over and over to fill the containing area.
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
text area limitations skary Coding Forum 1