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.

Div layout changing

Featured Replies

Hi,

 

I've recently started trying to learn HTML and am using Blogger to create a website (I know, not the best). Anyway, I've got a header at the top of my page, an image underneath, and then the content/posts under that. However, there's a gap between the image and the content page element that I'm trying to remove. I want the image to literally be sitting on the content element!

 

Here's my page - http://deesdelightfulblog.blogspot.com

 

Any idea how I can get rid of the date and gap between image and content box below?

 

Thanks

Well it might help if you can position the image absolute (css: position: aboslute; top: ..px; left: ..px;) and then put it in it's place.

 

That might work

  • Author

I've just realised that it is in fact a picture within a widget, and it's the widget that needs to be moved.

 

This is the code for the image in HTML:

 

 

<b:section class='tabs' id='crosscol' maxwidgets='1' showaddelement='yes'>

<b:widget id='Image1' locked='false' title='' type='Image'/>

</b:section>

<b:section class='tabs' id='crosscol-overflow' showaddelement='no'/>

</div>

 

The b:widget id='Image1' part. So I basically need to figure out what coding to put in or CSS that will allow me to position it on the page.

do you have acces to the css file? if yes, are you allowed to make any changes?

  • Author

Figured out I had to use the widget code HTML1 and create a code like this:

 

 

#HTML1 {

position: absolute;

top: 192px;

left: 90px;

z-index: 100;

}

 

before the div coding starts. I have mastered the art of absolute positioning! Thanks for the tips!

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.