Search the Site:

How to Make an Inline Element With CSS

Can you help me on how to make an inline element with css.

Thanks in advance.

Re: How to Make an Inline Element With CSS

You are doing css styles in html right? if you are and you want to align something then the attribute will be as follows in the example.    this is an example of an html css definitions. it includes text alignment. 

<html>

<head>

<title>

my title

</title>

<style type="text/css">

body {

            font-family:times new roman,serif;

            color:red;

            text-align:center;

}

 

</style>

</head>

<body>

this is the body.  where the content of a eb page appears.

</body>

</html>

 

 

that is how you align text and other stuff with css.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <i> <object> <param> <embed> <blockquote>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

2 Steps to Post a New Problem

2 Steps to Post a New Problem

Register
Login
Post New Problem

DISCLAIMER: The content on the site has been submitted by the users. NibbleGuru.com has no responsibility other than in removing material from the website when we have been notified of a copyright violation. Notify here.