HighDots Forums  

Using Links Within CSS

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Using Links Within CSS in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Drew Richardson
 
Posts: n/a

Default Using Links Within CSS - 09-05-2003 , 08:40 PM






On my page, I have a stylesheet that puts a "cell" in the middle of the page
then creates another frame within that cell. I have my external links below
the middle frame, so that only my content scrolls. My question is, can I
put a link outside of the content div class that will load into the content
frame? My stylesheet code is below if it helps...

div.textbox
{
background-color: #000000;
font-family: verdana;
font-size: 12px;
padding: 5px;
color: #808080;
height: 330px;
width: 450px;
position: absolute;
top: 40px;
left: 175px;
}


div.entry
{
overflow: auto;
background-color: #000000;
color: #808080;
text-align: left;
font-size: 12px;
padding: 5px;
height: 250px;
width: 425px;
border: 1px solid #000000
}


div.leftbar
{
background-color: #000000;
font-family: verdana;
font-size: 12px;
color: #000000;
text-align: left;
height: 330px;
width: 125px;
position: absolute;
top: 40px;
left: 50px;
}

div.rightbar
{
background-color: #000000;
font-family: verdana;
font-size: 12px;
color: #000000;
text-align: left;
height: 330px;
width: 125px;
position: absolute;
top: 40px;
left: 625px;
}

To clarify, the div.entry part is nestled within the div.textbox part and my
main content is within the entry, but my external links are all in the
textbox area so that they don't scroll with the rest of the content. Can I
make a link in div.textbox (outside of div.entry) that loads into div.entry
on the same page?

Drew



Reply With Quote
  #2  
Old   
Drew Richardson
 
Posts: n/a

Default Re: Using Links Within CSS - 09-06-2003 , 12:49 AM






here's a link to my site: http://elmedico27.diaryland.com


"Drew Richardson" <elmedico27 (AT) hotmail (DOT) com> wrote

Quote:
On my page, I have a stylesheet that puts a "cell" in the middle of the
page
then creates another frame within that cell. I have my external links
below
the middle frame, so that only my content scrolls. My question is, can I
put a link outside of the content div class that will load into the
content
frame? My stylesheet code is below if it helps...

div.textbox
{
background-color: #000000;
font-family: verdana;
font-size: 12px;
padding: 5px;
color: #808080;
height: 330px;
width: 450px;
position: absolute;
top: 40px;
left: 175px;
}


div.entry
{
overflow: auto;
background-color: #000000;
color: #808080;
text-align: left;
font-size: 12px;
padding: 5px;
height: 250px;
width: 425px;
border: 1px solid #000000
}


div.leftbar
{
background-color: #000000;
font-family: verdana;
font-size: 12px;
color: #000000;
text-align: left;
height: 330px;
width: 125px;
position: absolute;
top: 40px;
left: 50px;
}

div.rightbar
{
background-color: #000000;
font-family: verdana;
font-size: 12px;
color: #000000;
text-align: left;
height: 330px;
width: 125px;
position: absolute;
top: 40px;
left: 625px;
}

To clarify, the div.entry part is nestled within the div.textbox part and
my
main content is within the entry, but my external links are all in the
textbox area so that they don't scroll with the rest of the content. Can
I
make a link in div.textbox (outside of div.entry) that loads into
div.entry
on the same page?

Drew





Reply With Quote
Reply




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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.