Traditional Culture Encyclopedia - Weather inquiry - On the setting of personalized logo in css
On the setting of personalized logo in css
General logo is the background set in the logo container.
Just change the height value of the container bearing the logo to make it consistent with the height of the picture.
For example, the logo size is 150px * 50px:
& lt! -html section->
& lth 1 & gt; & lta href = ""> Personal Website
/* CSS section */
H 1 {width:150px; Height: 50px}
h 1 a { display:block; Width:150px; Height: 50px Text indentation:-30px; }
If it is changed to 150px * 65px, it is only necessary to change the height in CSS sections h 1 and h 1 a to 65px.
- Previous article:What are some simple and beautiful cases of tattoos?
- Next article:What are the customs all over the country in the New Year? !
- Related articles
- Who is the guest of the Mi Shi Cup South Korea explaining Ghana?
- What should I do if my calf is dry and itchy in winter?
- How to fish in summer? Why catch small crucian carp?
- Do you earn money by opening a tea shop in the industrial park?
- I was born in199065438+1at about 5 am on October 4th, and I am a girl.
- Which month is hot in Guangdong?
- The previous landings of Typhoon Ute
- How does premiere cs3 make dynamic subtitles?
- Double twelve promotes happiness and recommends good things at home.
- The death knell slandered Zheng He's voyage to the Western Seas, which did not affect the development of Daming.