473,799 Members | 3,416 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5135
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********@hot mail.com> wrote in message
news:vl******** ****@corp.super news.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
2384
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 we modified the links that invoke the javascripts from: <a href=javascript: top.doSomething> text </a> To: <span onclick=javascript:top.doSomething> text </span> The javascripts worked properly. Any ideas on why this now works or other...
25
5030
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 each column. Because links are added and deleted separately in each column, it would be exceedingly awkward to use a separate table row for each link. Therefore, within each column the links are separated by <br> tags. However, the automatic line...
5
2139
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 within Access 2000 to get to the SQL Server tables. My forms worked fine until I made a few minor changes to the database schema on SQL Server (e.g. added a foreign key, or added a column). After that, all the links break - I click on a table...
2
1831
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 require SSL. In the LogOn.aspx, it automatically detects in the page_load event (using URL.Scheme property) whether SSL is running, and if not, redirect to itself and replaces http by https in the url. This part runs fine. However, all the other...
3
2727
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 ??? Which method or function I should to invoke to get links which arer defined in my pdf document ??? Regards, Piotrek
9
3503
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 tailored to a particular page/script. Hopefully, the problem can be solved without recreating a complete Javascript interpreter. Any ideas?
1
1180
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 couple of links in there in the introduction which point to other places in the document... for example: <a href="#intro">
1
2768
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 documents...which are also listed within this same table. I would like to create a form which will allow me to call up any one 'parent' document, and have it list all the associated child documents. Issues: 1. The parent and child records are located...
5
5806
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 of each other within each anchor without a lot of extra space between each line. I am self taught in XHTML and CSS and would appreciate any suggestions? THE XHTML: <ul id="ns-buttons-links"> <li id="nsbl-request"><a href="#"><span...
1
10238
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10030
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9077
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7570
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4145
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3761
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.