473,322 Members | 1,417 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Using Links Within CSS

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
Jul 20 '05 #1
3 4999
Drew Richardson wrote:
On my page, I have a stylesheet that puts a "cell" in the middle of
the page then creates another frame within that cell.
CSS does no such thing. CSS is a way to suggest a presentation for
markup. It is not a replacement for that markup.
I have my external links below the middle frame,
< http://dorward.me.uk/www/frames/ >
so that only my content scrolls.


If you are using frames for the fixed part, try the css position:
fixed property.

If you want more help, a url is always nice.

--
Brian
follow the directions in my address to email me

Jul 20 '05 #2
here's a link to my site: http://elmedico27.diaryland.com
"Drew Richardson" <el********@hotmail.com> wrote in message
news:vl************@corp.supernews.com...
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

Jul 20 '05 #3
Please don't top post.

http://www.cs.tut.fi/~jkorpela/usenet/brox.html

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


It doesn't validate. Perhaps not possible using a free web host. But
you don't even have a doctype. And you have posted in
ciwa-stylesheets, so presumably you use css for presentation, and yet,
you have loads of font tags, tables for layout, etc. What are you
aiming for?

--
Brian
follow the directions in my address to email me

Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: sdvoranchik | last post by:
We have an application that contains links that run javascripts to create pages in a separate frame. When these links open an external site, it causes the javascripts to no longer function. When...
25
by: Shannon Jacobs | last post by:
Maybe there is a simple trick here, and I'm not spotting it... Is there a guru of CSS hanging around here who can help out? The page in question has a multi-column table with a list of links in...
5
by: dananrg | last post by:
I've created a small company database where the tables reside in a SQL Server database. I'm using Access 2000 forms for a front end. I've got a System DSN set-up to SQL Server and am using links...
2
by: CW | last post by:
I have pages, such as LogOn.aspx, Payment.aspx that enforces the use of SSL. Every single one of my page embeds a header and menu server controls - which have links to other pages that do not...
3
by: Ptaku25 | last post by:
I have in a few first page defined links (font blue color) row by row which are links for to appropriate pages in this pdf document. Could you tell how to get this links in javascript lang ???...
9
by: chrisspencer02 | last post by:
I am looking for a method to extract the links embedded within the Javascript in a web page: an ActiveX component, or example code in C++/Pascal/etc. I am looking for a general solution, not one...
1
by: chris_culley | last post by:
Hi there.. I've got an HTML newsletter which I knocked together, and I want to paste the whole lot into an email to send out to the rest of the team / department / company... There are a...
1
by: khoegen | last post by:
I've created a Table and wish to create links between the records wtihin the table. Background: The table consists of a list of Documents. These documents contain references to other...
5
by: Memphis Steve | last post by:
Is is possible to control spacing between two lines when using <br />? I would like to be able to adjust the spacing between the two lines in each link below so that the two lines sit snugly on top...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.