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.

Small HTML problem

Featured Replies

Hey guys,

 

As I'm just starting off, I'm getting to know the code still.

 

At the moment, my page just has got a Logo and a small bit of text on.

As you can see here http://footiefanatics.co.uk/test/ the text appears underneath the logo on the right, is there anyway to get it so it's the same level as the logo?

 

Thanks,

Preemo

Put your logo in & text in separate divs & float them left & right.

Using floats, see below

 

<div id="wrapper">
<div id="header-left">
  <a href="index.php"><img src="./images/index-logo.gif" /></a> 
  <p>hello</p>
 </div>
<div id="header-right">
 <p>Email us at </p>
</div>
</div>

 

css code

img { border:none;} /* removes borders on linked images, without adding border=0 to all the images */
#wrapper {
width:960px;
margin:0 auto;
}
#header-left {
width:500px;
float:left;
}
#header-left img {
float:left;
width:360px;
height:100px;
}
#header-left p {
float:right;
}
#header-right {
width:300px;
float:right;
}

 

That will give you the left and right of the header... You would need to add styling, margins etc. Change the widths to your needs.

Edited by Faevilangel

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.