hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Design and Content : Psd to Html issue.
Reply

Web Design and Content Subjects include, HTML, graphics, editors, CSS, Flash, graphics creation, placing of ads, ad serv companies, copyright, content and nearly anything else design related. Also talk about businesses that provide design services. If you link to your site, you must post in Web Site Reviews.
Forum Jump

Psd to Html issue.

Reply Post New Thread In Web Design and Content Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-30-2012, 02:29 AM
erinjnes erinjnes is offline
New Member
 
Join Date: Jan 2012
Posts: 4

Psd to Html issue.


Hi,

I am not an expert designer and actually learning designing. I have Psd template of a website and converting it to the Html format. In I have code almost everything well but i am getting issue in Navigation menu. I am using an image at the background of anchor text in the navigation bar. Image is of 25px height and it supposed to be shown on the hover. But i check after applying the css i can see the hover picture with 25px but instead background is stick with the size of actual size of text size of anchor text. Can anyone please help me in this? Thanks in advance.

Reply With Quote


Sponsored Links
  #2  
Old 01-30-2012, 05:52 AM
JayNL JayNL is offline
Radiofreak for life
 
Join Date: Aug 2005
Location: The Netherlands
Posts: 3,198
got an online example?

__________________
Co-owner EclecticRadio | Electronic Music Radio
WE MAKE YOU DANCE!
Visit us @ www.eclecticradio.nl

Reply With Quote
  #3  
Old 01-30-2012, 10:58 AM
Sam [Vissol] Sam [Vissol] is offline
Premium Member
 
Join Date: May 2007
Location: Cardiff, United Kingdom
Posts: 495
You need to add "display: block;" to the <a> in CSS

__________________
Sam Asante ~ Web & User Interface Designer ~ SamAsante.com
World-Class cPanel Themes
Responsive WHMCS Themes



Reply With Quote
Sponsored Links
  #4  
Old 01-30-2012, 01:11 PM
ColinCronin ColinCronin is offline
WHT Addict
 
Join Date: Nov 2011
Location: Greater Chicago Area
Posts: 127
It would really help to see the site online, but I tend to agree with Sam that you are probably missing the "display: block" attribute.

A suggestion though. Don't use Photoshop for website mockups. It's a poor tool to use for it. If you are going with Adobe, Fireworks is much better and it will make your wireframing much faster. The slice tool is more flexible which will allow you export chunks of your image directly into HTML that you can insert in the page.

Another tool you might look into Axure RP. This is actually an application dedicated for rapid prototyping and wireframing.

__________________
Colin Cronin, Chief Marketing Nerd
ICC - International Computer Concepts
New Social Promotion for Intel E3 Xeon Servers

Reply With Quote
  #5  
Old 01-30-2012, 01:39 PM
erinjnes erinjnes is offline
New Member
 
Join Date: Jan 2012
Posts: 4
Quote:
Originally Posted by Sam [Vissol] View Post
You need to add "display: block;" to the <a> in CSS

Thanks it's working as what i was looking for.

Reply With Quote
  #6  
Old 01-30-2012, 02:25 PM
fredrikrob fredrikrob is offline
Junior Guru Wannabe
 
Join Date: Sep 2011
Posts: 41
Quote:
Originally Posted by Sam [Vissol] View Post
You need to add "display: block;" to the <a> in CSS

"line-height: 25px; " will be helpful in this if you are not using it just use and check.

__________________
PSD to HTML | PSD to Wordpress

Reply With Quote
  #7  
Old 02-09-2012, 09:14 PM
vietdevelop vietdevelop is offline
Newbie
 
Join Date: Feb 2012
Location: VietNam
Posts: 6
Quote:
Originally Posted by fredrikrob View Post
"line-height: 25px; " will be helpful in this if you are not using it just use and check.
css file:
.nav
{
height:25px;
line-height:25px;
background:url('you url');
background-repeat:repeat-x;
}

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Psd to Html/Css, Psd to Wordpress leanocodes Design Offers 0 01-10-2012 05:32 AM
[Request] HTML coder needed. PSD -> HTML Mark L Design Offers 2 03-01-2006 11:38 PM
Fresh templates for sale! PSD, PSD & Html, or Unique xcoredotnet Design Offers 4 09-04-2005 09:23 PM
Hosting Simple Prof Template , $5 Unsliced PSD, $10 Sliced PSD, $15 HTML + Sliced PSD georgeb Design Offers 0 10-23-2003 09:58 AM
Offering misc simple services (PSD slicing into html, logo design, html work, etc) Viper2026 Design Offers 0 10-15-2003 07:34 PM

Related posts from TheWhir.com
Title Type Date Posted
Emerging Tech - HTML5 Blog 2013-05-14 14:46:22
Is Assistance with Wiretap Orders Coming? Blog 2013-05-07 10:51:52
cPanel Conference 2012: Branding and How to Do it Better with Felipe Gasper Web Hosting News 2012-10-09 18:00:02
Trustwave Re-Ignites SSL Policy Debate with Cert Revocation, Rule Change Web Hosting News 2012-02-08 12:27:21
Go Daddy Helping Customers Repair Compromised Sites Web Hosting News 2011-09-16 14:35:03


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?