473,320 Members | 2,117 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,320 software developers and data experts.

(HTML) Problem with making a extra sidebar and content bar help needed.

Hi there, I'm trying to build my very own website with Notepad++ but i stumbled across a problem.
I was trying to make a extra Sidebar and Content bar but when i do this it will mess up the original or it won't even come.
Can someone explain to me what i do wrong, here is the code I've been trying to make work: default.css

Expand|Select|Wrap|Line Numbers
  1. /*********************************************************************************/
  2. /* Sidebar                                                                       */
  3. /*********************************************************************************/
  4.  
  5.     #sidebar
  6.     {
  7.         background:  #363636;
  8.         float: left;
  9.         width: 345px;
  10.     }
  11.  
  12.     #sidebar .title h2
  13.     {
  14.         font-size: 1.6em;
  15.     }
  16.  
  17.     #sidebar .box1
  18.     {
  19.         margin-bottom: 3em;
  20.     }
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35. /*********************************************************************************/
  36. /* Sidebar2                                                                       */
  37. /*********************************************************************************/
  38.  
  39.     #sidebar2
  40.     {
  41.         background:  #363636;
  42.         float: right;
  43.         width: 345px;
  44.     }
  45.  
  46.     #sidebar .title h2
  47.     {
  48.         font-size: 1.6em;
  49.     }
  50.  
  51.     #sidebar2 .box1
  52.     {
  53.         margin-bottom: 3em;
  54.     }
  55.  
  56. ------------------------------------------------------------
  57.  
  58. index.html
  59.  
  60. <div id="sidebar"> <div class="box2"> <div class="title"> <h2>Text</h2> </div> <ul class="style0"> </ul> </div> </div> </div> </div> <div id="sidebar2"> <div class="box2"> <div class="title"> <h2>Text</h2> </div> <ul class="style0"> </ul> </div> </div> </div> </div>
  61. ------------------------------------------------------------
Thank you for reading
Apr 15 '14 #1
1 1130
And where do I have to place it?
Apr 17 '14 #2

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

Similar topics

4
by: Murat Tasan | last post by:
i am implementing a custom version of the java.util.Map interface. my custom version does some encryption stuff when making modifications to the map via one of the 4 modification methods (put,...
2
by: Oleg Ogurok | last post by:
Hi all, On my web page, I have a <OBJECT DATA="mydatafile.ica" ...> which loads Citrix ICA web client. The problem is that I want to generate the mydatafile.ica on the fly (e.g. based on...
1
by: drcode | last post by:
Hi everyone- I need a quick pointer from someone on how to mark up HTML with RDF tags. Suppose, for instance, on my web page, I had the sentence: "Last Wednesday I ate a turkey sandwich at...
0
by: malcolm | last post by:
How do I get a web-browser loaded with on-the-fly content and a JavaScript onclick popup function to work? I've embedded an axWebBrowser in my (vb.net) application. The browser starts with...
7
by: Alan Silver | last post by:
Hello, I am a complete and utter newbie at ASP.NET, so please forgive any stupid questions ;-) I am just trying to get my head around the whole web forms business, but have run into a...
6
by: Raistlin Majere | last post by:
I have Apache/MySQL/PHP on Windows XP. I want my PHP files to behave in my computer like in web host. I open a PHP file with FF and its content is printed!
1
by: Heron | last post by:
Hi, I'm new to regular expressions and having troubles recreating one that would match tags with there attribute and content. Example on which i'm doing the match: protected void...
10
by: Cain | last post by:
Is making your own content mangement system a good idea?
3
by: synergy_711 | last post by:
I feel like this should be fairly easy but I have been struggling with this for sometime. I have not been able to find someone who's had the same problem as mine yet. ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
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: 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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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.