473,839 Members | 1,330 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I'm trying to get my sidebar to stay at the top of the page.

1 New Member
I'm a complete beginner at web design, and made a website using basic tutorials. It isn't on the internet.

I'm trying to get the sidebar (which comprises links) to always stay at the top of the page, as opposed to what it's doing right now, which is moving to the middle of page as the page gets larger, and would like to know how to do this with html or css. Thanks in advance, and sorry for my blatant proselytism.
Jul 18 '08 #1
1 1432
acoder
16,027 Recognized Expert Moderator MVP
Use position:absolu te. If that doesn't work, post your code.
Jul 18 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1336
by: Sean Givan | last post by:
I'm putting together a page layout, and I'm getting frustrated trying to recreate a setup that I had made before, but forgotten exactly how. The page is a table with two columns; the left is a fixed-width column that acts as the page's sidebar, while the right column contains the main text of the page. The tricky part is that inside the right column is another table, 1x1, that's aligned to the bottom right of the table cell, such that...
5
1801
by: Stan R. | last post by:
Greetings. I have a couple of questions concerning CSS layouts, as apposed to the old <tablemethod for creating layouts . Even after spending the last few days searching all over Google Groups, I haven't not been able to find a solution to my collective dilemma, and I hope some of you fine folks here in these neck of the UseNet woods might be able to share some wisdom with a fellow coder. My questions are in regard to what are the proper...
14
4995
by: Mark | last post by:
please view http://mnbayazit.com/misc/sample.gif i'm wondering how i can make the sidebar (green) float to the right of the main text, without specifying the width of the main content (because the sidebar is optional, i need the main content to fill the space available). ie, the green sidebar should be right up against the red header. code below
0
2184
by: test2000 | last post by:
Hello On my blog I have a vertical line that is separating the content from the sidebar. This line is going all the way down until the bottom of the page if the content is longer than the sidebar. see here: http://vueltaa.blogspot.com/ But, if the sidebar is longer than the content (eg when you view a single post) the line ends where the content ends and that looks quite ugly... :-(
1
3153
by: rsteph | last post by:
I've got some product information pages, with images and text, all setup within a table. I'm trying to add a small image in the upper right hand corner of the content div (where all the important information is). I've got the product name at the top, left aligned and typically as a two lined header, and I'd like to add a small logo to the right of that, either right beside it, or in the far right corner. could anyone help me with how to set...
3
2279
by: Bill | last post by:
If you type our web site directly in a browser, you get our web page. It has a top bar, a sidebar and a main text page in the middle. If you click on one of the menu choices across the top, it goes to "Set Frame" The main text changes, the sidebar changes and the top panel stays the same. Problem: If you search on our service, using Google, you get a specific web page. When you click on that, you get the web page, but WITHOUT the top...
1
2470
by: pixelfreaks | last post by:
Hello, I am having a problem in aligning the sidebar and content area in a webpage. I am using css. Consider the below layout. __________________________________________ | header | |_________________________________________| | | | | | ...
15
4469
by: richard12345 | last post by:
Hi I have problem with overlapping sidebar and footer. The sidebar is overlapping footer. The content of the page moving the footer up and down how it suppose do but the sidebar dos not. I try everything I can think of and nothing is helping to fix this. If you guys can help that will be grate. The website is holtz-realty I copy the html file I am using to separate location so you can see the tables: here
0
9855
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10908
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10587
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10295
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...
1
7829
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
7018
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();...
1
4487
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
4064
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3136
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.