How to absolutely position text in Dreamweaver

This lesson is exclusive to members

Course contents
SECTION: 9
How to backup 4:44
SECTION: 17
Finished 1:58

Questions

You need to be a member to view comments.

Join today. Cancel any time.

Sign Up

Course info

53 lessons / 5 hours

Overview

NOTE: this course uses Bootstrap 3. Dreamweaver has recently updated to Bootstrap version 4. You can change it back to 3 using the ‘New Document > Bootstrap > Preferences'. Please do this before starting the course.

Some versions of Dreamweaver will require you to download the specific Bootstrap version you want to use and link it within the site. You can download Bootstrap 3 here: http://getbootstrap.com/docs/3.3/

Hi - my name is Dan and I’ll be leading you through this course on how to Make money building mobile friendly websites using Dreamweaver.

I built this course for the visual person, the right brained person. We won't hide from code but we'll use all the visual tools that makes Dreamweaver so amazing.

These are the skills you’ll need to become a professional web designer. You’ll learn how to make responsive websites in Dreamweaver as well as learning what to charge and how to manage a website project.

We cover everything you need to build your first website. From creating your first page through to uploading your website to the internet. During the course we’ll create a website for a mock creative agency - creating mobile and desktop versions. See our example here:

I’m a Dreamweaver Certified Instructor and an Adobe Certified Web Specialist.

With exercise files you can download and work along with me. At the end of each video I have a downloadable version of where we are in the process so you can compare your project with mine making it easy to see where you might have a problem.

I’ll be showing you how to work with Dreamweaver to easily create HTML & CSS websites. How to create mobile and tablet versions of your design and how to test your website on your phone.

I’ll be teaching you how to create navigation bars, how to work with responsive images and favicons.

We’ll work with Dreamweaver’s new Bootstrap integration to easily add carousels, tabbed menu’s and accordions. Even easier you’ll learn to impress clients by embedding videos, calendars, maps, event ticketing & social sharing options. 
 
 Know that I’ll be around to help - if you get lost you can message in the forum and together we’ll get you back on track.

Now it’s time to upgrade your skills, get that better job and impress your clients.

What are the requirements?

  • You'll need a copy of Dreamweaver CC 2015 or above. A free 30 day trial can be download from Adobe here.

  • No previous Dreamweaver or web design experience is necessary.

  • If you're not sure if this course is right for you. Email me what you’re trying to do and check if you’re on the right track.

What am I going to get from this course?

  • 60 lectures 3 hours of content!

  • Forum support from me. 

  • All the techniques used by professional website designers.

  • Ways to preview your designs straight to your mobile device.

  • Firm understanding of responsive web design.

  • Professional workflows and shortcuts. 

  • A wealth of other resources and websites to help your new career path.

What is the target audience?

  • YES: This course is for beginners. For people who prefer not to work in code. Aimed at people new to the world of web design. No previous Dreamweaver experience is necessary. People with knowledge of previous versions of Dreamweaver CC 2014 and below will also get great value from this course as the software has changed so much.

  • NO: This course is NOT suited to people experienced in using HTML & CSS. If you prefer to work in code only then this course isn’t right for you.

Course duration 5.5 hours + your own study.

Daniel Scott

Daniel Scott

Founder of Bring Your Own Laptop & Chief Instructor

instructor

I discovered the world of design as an art student when I stumbled upon a lab full of green & blue iMac G3’s. My initial curiosity around using the computer to create ‘art’ developed into a full-blown passion, eventually leading me to become a digital designer and founder of Bring Your Own Laptop.

Sharing and teaching are a huge part of who I am. As a certified Adobe instructor, I've had the honor of winning multiple Adobe teaching awards at their annual MAX conference. I see Bring Your Own Laptop as the supportive community I wished for when I was first starting out and intimidated by design. Through teaching, I hope to bring others along for the ride and empower my students to bring their stories, labors of love, and art into the world.
True to my Kiwi roots, I've lived in many places, and currently, I reside in Ireland with my wife and kids.

Downloads & Exercise files

Download Exercise Files

Transcript

Hey, my name is Dan. In this video we're going to look at Absolute Positioning. Absolute Positioning is a little trick we can use to force a div-tag or some sort of object here, or an image, to go exactly where we want it to do it. At the moment everything is relative to each other. What it means is, it's going to allow me to do some tricks with this. I want to build this, I'm in Photoshop at the moment, I want to rebuild this in Dreamweaver. Now, what I could do is, I could make my-- I've already got my Container made in Dreamweaver. I could put in images, a background image, and then push the text over the top which wouldn't be hard. The only problem with that is that these images would then become part of the css, and not be read out to the user. The problem with that is that they're actually quite useful, important part of the website. They're actually a thing on there, and I want Google to be able to see it. And I want Screen Readers to be able to see it.

So what I'm going to have to do is stick it in as a regular image, and then I'm going to put text over the top of it. But without using Absolute Positioning text, will not go over the top of an image that's in the HTML. Either over the background of the css, but not on the HTML. Let me show you the finished thing to show you why it wouldn't work without Absolute Positioning. This is one that I've finished earlier. And here is my text box. This one in here, I've got a Text Portfolio. If I disable the Absolute Positioning, I've done, can you see, without it, the text will not go over the top of the image. There's the image, so it can be read by a Screen Reader. It's in the HTML, which is great. And this text here will not go over the top of it unless I make this text box absolutely positioned. So let's go and do that.

First of all, I want to get inside this column that I've made, and I want to insert my image. Nothing special about that. I've selected my 'Column', I'm going to go 'Insert', 'Image'. I'm going to 'nest' it inside. I'm going to go off and find, on my 'Desktop', under 'Dreamweaver Exercise Files', 'Images', there's one in here called 'portfolio-1'. I'm going to set him to-- I'm going to click on this, and say 'Make Image Responsive'. So that's inside that box, and it gets bigger and smaller depending on the size.

Next what I want to is, I'm going to put in the box that's going to contain my text. So what I want to do is, I'm going to go to 'Insert', 'Div'. Where is it going to stay? I'm going to say it's just going to be 'After'. There's my 'div-tag' here. It's got no name at the moment, I'm going to create a 'Class' for it. Over here, in my 'main.css'. If you can't click on it, it's because I've switched to 'Current'. I might have lost mine while doing something else. To make sure, if you're finding it hard to use, switch to 'All'. Make sure you're in 'main.css', I'm going to create a 'Selector'. This one here is going to be called '.text-portfolio'. I'm going to turn 'Show Set' off, so I can see everything. And what I want to do is, I want to do a couple of things.

I'm going to make the background of this 'div' black so we can see where it is. Click on 'Color', 'Black'. Now nothing's happening over here, why, because I haven't applied my Class yet. So I've got my 'div' selected, I'm going to add a 'class'. This one's going to be called '.text-portfolio'. So it's doing the bit where it's relative to the image above it. So he sits underneath. What I'd like to do is change it to the Absolute. And what that will do is that it will then ignore the image. It will go to the outside Container, which is this thing called 'col-lg 3'. And here he is, he's sitting underneath the image.

What I want to do is pull him up, and move him around over the top of this image using Absolute Positioning. So we're going to select this 'text portfolio' here. I'm going to scroll up to the top and scroll down till I find, under 'position', it's a bit obscure, where it says 'static', which it is by default, we're going to go to 'Absolute'. It does nothing really, other than the Container div which was this 'col-lg 3'. Forgets it exists. It doesn't see it, so it's collapsed down, it's still there, that's fine, but the Housing Container doesn't say it. What I can do now is, when I go to 'Position' I can say, on the left here, I want to change it so it is maybe '35 pixels' from the left. I could use 'top', and put a really big margin in, so I could put 'top', 'pixels', and I can make it '200', and try and push it down to the bottom here. I'm going to click it, maybe make it '180' and get it down the bottom, or I can bin there and use the 'bottom'.

It's just easy to start from that direction. I'm going to click on 'bottom', go to 'pixels'. And I'm going to set this one to maybe '15'. So it sits up there, from the bottom there. '15 pixels' from the bottom, '35' from the side, and that's one of the uses for Absolute Positioning.

There's lots of other ways you can use Absolute Positioning. It will pop up in Web Design over and over. This is not a complete kind of overview of what it does, but it's just kind of a sample of some of the things you can do with Absolute Positioning.

Before we go let's finish off Styling it because I want it to look a lot like this in Photoshop. A bit of a transparent background, and some padding around there. So what we're going to do is, 'text-portfolio', I'm going to do some padding, so 'padding', '2 pixels' to the top. '2 pixels' to the bottom. Maybe '5' on left side, '5' on the right side. You can see the padding appearing around this 'div-tag' here. Why don't we make it even a bit more? So I'm going to increase it up to maybe '10'. And '10'. That feels about right.

To change the text inside here, I'm going to click until it gets launched. And this one was a company called Acme Ink. What I also want to do is change the background color to be a little bit transparent so we can play with the alpha. Becomes a little see through. I also want to change the font. Now what I could do is I could go through and make a separate Class for the font and apply it to it, because at the moment there's nothing applied to it, but what I can do is, I can actually wake up this Parent div-tag here, called 'text-portfolio'. We can control everything inside of this even though we've done background colors and stuff, we can control the font as well.

So inside of here, you my friend now are the right font, but you're going to be the right size now. So I'm going to the right size, and let's just check what I did in Photoshop. So it is-- gets up to about '14'. So in here, I forgot, 'Client', and it's going to be 'Acme Ink'. And 'font size', maybe make it even a bit bigger. So I'm going to make it up to '16'. Maybe '18', '17'. '16'. And maybe the 'font-weight', I'm going to push the 'font-weight' down to the 'lighter' one. So down to '300', say '400'. Lovely.

So we learned a little bit about Absolute Positioning, and we've Styled off text. Let's look at the next video, and we'll go through and reproduce this for all four boxes.

  • Powered by Marvin
  • Terms of use
  • Privacy policy
  • © Bring your Own Laptop Ltd 2024