Solved

Placing Text below image

Posted on 2014-01-21
1
389 Views
Last Modified: 2014-01-21
Hi Guys,

Is there anyway i can put the following text under the header image on the left on the website www.ias.ie

Patron of IAS: Michael D. Higgins Uachtaráin na hEireann

Thank you so much
0
Comment
Question by:jonathanduane2010
1 Comment
 
LVL 9

Accepted Solution

by:
WebDevEM earned 440 total points
ID: 39796866
Hi,

If you edit your header-top-container to add a DIV at the bottom, like so:
<div id="header-top-container">
			<div id="header-top">
				
				<div id="header-top-left">
												
				</div><!-- close #header-top-left -->

				
								<div id="header-top-right">
					
					<div class="social-icons">
																																																					</div>
				</div><!-- close #header-top-right -->
	<div id="headerText" style="
    padding-top: 173px;
    margin-left: -76px;
    text-shadow: none;
">Patron of IAS: Michael D. Higgins Uachtaráin na hEireann</div>			
								
				<div class="clearfix"></div>
			</div><!-- close #header-top -->
  
		</div>

Open in new window

that will add the text below the pictures and above the menu.  The text is still inheriting its grey color from other styles, so I'm looking into how to override that in case you wanted it darker.  I'd also recommend putting the styles into your CSS file rather than embedding them in the DIV tag itself, to keep the code cleaner.  To do that, just remove the style="
    padding-top: 173px;
    margin-left: -76px;
    text-shadow: none;
" and add the following to your CSS file:
#headerText {style="
    padding-top: 173px;
    margin-left: -76px;
    text-shadow: none;
"}

Open in new window

Hope this helps,

WebDevEM
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
login jsp example 24 48
Width of Page is Affecting Side Menu 6 25
Select only the top record in a left join 13 35
ASP server side get value 15 21
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Find out what you should include to make the best professional email signature for your organization.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question