Make text fixt to an area

时间:2017-08-30 20:26:25

标签: html css

MY CODE IS:

curl_setopt($ch, CURLOPT_POSTFIELDS, "{\"username\":\"testuser5@so.com\",\"send_welcome\":true,\"welcome_message\":\"Test\",\"account_attributes\":{\"email_address\":\"testuser5@so.com\",\"first_name\":\"Snow\",\"last_name\":\"White\",\"middle_initial\":\"A\",\"phone_number\":\"2055551234\",\"address\":\"1 Main St\",\"city\":\"Detroit\",\"state\":\"MI\",\"zip\":\"48220\",\"country\":\"US\"},\"Gender\":\"Male\",\"portals\":[],\"groups\":[],\"identification_card_numbers\":[]}");

this is not wanted

i want to edit the text so that it would fit and not disturb the server image, is there anyway to make this possible?

2 个答案:

答案 0 :(得分:0)

You could set the image as the divs background image & then set padding on the div.

答案 1 :(得分:0)

Without seeing your CSS, it looks like you are probably using a std::vector<> property on one of your div elements. The text appearing over top of it is how it's intended to work.

If you don't want this image to be part of the background, then I'd suggest removing that property and instead inserting a good old fashioned namespace std { std::ostream &operator<<(std::ostream &os, vector<int> const &art) { os << "["; for (auto it = art.begin(); it != art.end(); it++) { os << *it << ","; } os << "]"; return os; } } element in the HTML instead.