Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CSS Help

Featured Replies

Hey all,

 

Im designing a website for a friend. Ive managed to seperate where the main text will go into to halves, now, this is going to sound ridiculous :rolleyes: but how have I managed to do that? the css is:

#left { 
float: left;
background-color: #F3E8DB;
height: 350px;
width: 440px;
display: inline;
}

#right { 
float: left;
background-color: #F3E8DB;
height: 350px;
width: 440px;
display: inline;
}

 

How are they sitting next to each other? Without me using margins, padding and so on? (yes, Im still getting to grips/finding my way with CSS)

 

My second q is, I want to put a bulleted list in the right hand half, but when I click on bulleted list in DW, the cursor jumps up tothe top of the div and no bullet appears....

 

Any ideas? Be gentle with me :)

 

Thanks

Gem

The float:left; command is what is aligning the boxes next to each other.

 

Can't help on the other Q as I don't use DW. Do yourself a favour, close it down and use Notepad... Far far far better learning curve for css & xhtml.

 

To add a unordered list to html you would have

 

<ul>
<li>List item 1</li>
<li>List item 2</li> 
<li>List item 3</li>
<li>List item 4</li>
</ul>

You need to edit the css for the list now e.g.

 

#right ul {
list-style-type:none;
margin:0 40px 0 0;
width:400px;
}

 

If you're not that good at coding, why not get a coder in to do your coding? I do all my coding but I freelance out the designs and graphics. It means you can concentrate on what you can do, and then not spend weeks learning coding.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.