473,396 Members | 2,036 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,396 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 1133
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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...
0
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,...
0
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...

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.